Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common.sh')
-rw-r--r--lib/common.sh3
1 files changed, 2 insertions, 1 deletions
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