summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErick Cafferata <erick@cafferata.me>2019-02-07 14:48:56 -0500
committerErick Cafferata <erick@cafferata.me>2019-02-08 16:42:09 -0500
commit58484a20c811c4eb2d158554f8fee7f345cda53a (patch)
tree68d88595f308da440f0b93cedee0b67ab3ccb53d
parentb24995c644ac9c955daf7f0283f24eac24f5be41 (diff)
downloadasp32-58484a20c811c4eb2d158554f8fee7f345cda53a.tar.xz
fix detection of arch32-only packages
- some value passed by reference was addressed wrongly. fixed
-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