From 58484a20c811c4eb2d158554f8fee7f345cda53a Mon Sep 17 00:00:00 2001 From: Erick Cafferata Date: Thu, 7 Feb 2019 14:48:56 -0500 Subject: fix detection of arch32-only packages - some value passed by reference was addressed wrongly. fixed --- package.inc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2