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 /lib | |
parent | 4ff7aa0d8a8c88a6d1d02fa8462fa59c24a97422 (diff) |
-rw-r--r-- | lib/common.sh | 3 |
diff --git a/lib/common.sh b/lib/common.sh index a5e4616..d345307 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -137,6 +137,7 @@ pkgver_equal() { # $pkgver can be supplied with or without a pkgrel appended. # If not supplied, any pkgrel will be matched. ## +shopt -s extglob find_cached_package() { local searchdirs=("$PWD" "$PKGDEST") results=() local targetname=$1 targetver=$2 targetarch=$3 @@ -191,7 +192,7 @@ find_cached_package() { return 1 esac } - +shopt -u extglob check_package_validity(){ local pkgfile=$1 |