summaryrefslogblamecommitdiff
path: root/system/abuild/fix-apk-invocation.patch
blob: 71bc3d1c92ee93ed8cc96a19675d0209222ce7d1 (plain) (tree)




























                                                                                       
From 9f703d3222a6a8d52ac560035fb1a988d2f9bff7 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Thu, 27 Feb 2020 04:41:04 -0600
Subject: [PATCH] abuild: Use $APK instead of apk

This is the only appearance of `apk` in the source.  Appears accidental.

Fixes: 41343329 ("abuild: fix dependency tracing for cross builds")
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
---
 abuild.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/abuild.in b/abuild.in
index 2212789..7daa366 100644
--- a/abuild.in
+++ b/abuild.in
@@ -1255,7 +1255,7 @@ trace_apk_deps() {
 			autodeps="$autodeps pc:$pcprefix$i"
 		elif subpkg_provides_pc "$i" \
 				|| $APK $apkroot info --quiet --installed "pc:$i"; then
-			local provider="$(apk $apkroot search --quiet "pc:$i")"
+			local provider="$($APK $apkroot search --quiet "pc:$i")"
 			if list_has "$provider" $depends_dev; then
 				warning "$provider should be removed from depends_dev"
 			fi
-- 
2.25.1