[arch-projects] [devtools] [PATCH] test: common.bash: Fix syntax mistake: $pkgarches[@] -> ${pkgarches[@]}

Luke Shumaker lukeshu at lukeshu.com
Fri Jun 15 20:57:10 UTC 2018


From: Luke Shumaker <lukeshu at parabola.nu>

This mistake was introduced in 7628525156110022fa70ad91e4bc13ee8a3cceb0
---
 test/lib/common.bash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lib/common.bash b/test/lib/common.bash
index 36c735f..b82643e 100644
--- a/test/lib/common.bash
+++ b/test/lib/common.bash
@@ -273,7 +273,7 @@ checkRemovedPackageDB() {
 	if [[ ${pkgarches[@]} == any ]]; then
 		tarches=(${ARCHES[@]})
 	else
-		tarches=($pkgarches[@])
+		tarches=(${pkgarches[@]})
 	fi
 
 	for db in ${DBEXT} ${FILESEXT}; do
-- 
2.17.1


More information about the arch-projects mailing list