Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 2cbf34c

Browse files
committed
autobuild3: nullglob and globstar to be baseline opts
1 parent bb66892 commit 2cbf34c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

filter/elf.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@ filter_elf(){
1919
local _elf_f _elf_cmd
2020
for _elf_f in $ABELFFILTER; do _elf_cmd=filter_elf_${_elf_f}_pre; ! _which $_elf_cmd &>/dev/null || $_elf_cmd || abwarn "$(argprint $_elf_cmd "$@"): $?"; done
2121
set_opt nullglob # Force existing(nullglob) directories(/).
22-
set_opt globstar
2322
for i in "$PKGDIR"/{opt/*/,usr/,}{lib{,64,exec},{s,}bin}/**; do filter_elf__process "$i"; done
2423
cd "$PKGDIR"
2524
for _elf_f in $ABELFFILTER; do _elf_cmd=filter_elf_${_elf_f}_post; ! _which $_elf_cmd &>/dev/null || $_elf_cmd || abwarn "$(argprint $_elf_cmd "$@"): $?"; done
2625
rec_opt nullglob
27-
rec_opt globstar
2826
}
2927

3028
export ABFILTERS+=" elf"

lib/base.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
##@copyright GPL-2.0+ WITH GPL-Classpath-Exception
44
# Not to be run directly.
55
# TODO: Add basic support for bashdb.
6-
shopt -s expand_aliases extglob
6+
shopt -s expand_aliases extglob globstar nullglob
77

88
declare -x ABLIBS="|base|" # GLOBAL: ABLIBS='|base[|lib1|lib2]|'
99

0 commit comments

Comments
 (0)