[Dev] [dbscripts] [PATCH 31/31] test: common.bash: Fix syntax mistake: $pkgarches[@] -> ${pkgarches[@]}

Luke Shumaker lukeshu at lukeshu.com
Fri Apr 6 18:44:04 GMT 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 a833181..e882d3c 100644
--- a/test/lib/common.bash
+++ b/test/lib/common.bash
@@ -261,7 +261,7 @@ checkRemovedPackageDB() {
 	if [[ ${pkgarches[@]} == any ]]; then
 		tarches=(${ARCHES[@]})
 	else
-		tarches=($pkgarches[@])
+		tarches=(${pkgarches[@]})
 	fi
 
 	for db in "${DBEXT}" "${FILESEXT}"; do
-- 
2.16.2




More information about the Dev mailing list