summaryrefslogtreecommitdiff
path: root/package.inc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package.inc.sh')
-rw-r--r--package.inc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.inc.sh b/package.inc.sh
index 5f1d961..4c5db80 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -66,7 +66,7 @@ package_find_remote() {
if ! (( OPT_UPSTREAM )); then
printf -v "$2" %s "$(git ls-tree -r --name-only packages32/master \
| awk -F/ -v pkg="${pkgname}" ' $0 ~ "/"pkg"/PKGBUILD" {print "arch32__"$1;exit}')"
- if [[ $2 ]]; then
+ if [[ ${!2} ]]; then
return 0
fi
fi