Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/find-libdeps.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/find-libdeps.in')
-rw-r--r--src/find-libdeps.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/find-libdeps.in b/src/find-libdeps.in
index 5a11580..2517879 100644
--- a/src/find-libdeps.in
+++ b/src/find-libdeps.in
@@ -40,6 +40,7 @@ else
pushd "$WORKDIR" >/dev/null
fi
+shopt -s extglob
process_sofile() {
# extract the library name: libfoo.so
shopt -s extglob nullglob
@@ -56,6 +57,7 @@ process_sofile() {
soobjects+=("${soname}=${soversion}-${soarch}")
fi
}
+shopt -u extglob
case $script_mode in
deps) find_args=(-perm -u+x);;