index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Tobias Powalowski <tpowa@archlinux.org> | 2023-01-31 09:43:15 +0100 |
---|---|---|
committer | Levente Polyak <anthraxx@archlinux.org> | 2023-03-06 21:51:27 +0100 |
commit | 0365edb264c08b6520c8b57fadbff55967e1e948 (patch) | |
tree | 180b4e8defcdb47c19383199488ed9e5bf21dd7d /src | |
parent | 4ff7aa0d8a8c88a6d1d02fa8462fa59c24a97422 (diff) |
-rw-r--r-- | src/diffpkg.in | 2 | ||||
-rw-r--r-- | src/find-libdeps.in | 2 |
diff --git a/src/diffpkg.in b/src/diffpkg.in index 10b0904..6d07419 100644 --- a/src/diffpkg.in +++ b/src/diffpkg.in @@ -248,6 +248,7 @@ diff_pkgs() { fi } +shopt -s extglob fetch_pkg() { local pkg pkgdest pkgurl case $1 in @@ -295,6 +296,7 @@ fetch_pkg() { echo "$pkgdest" } +shopt -u extglob if (( $# < 2 )); then if [[ ! -f PKGBUILD ]]; then 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);; |