diff mbox

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

Message ID 20180615205710.21495-1-lukeshu@lukeshu.com
State Superseded, archived
Headers show

Commit Message

Luke Shumaker June 15, 2018, 8:57 p.m. UTC
From: Luke Shumaker <lukeshu@parabola.nu>

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

Comments

Emil Velikov via arch-projects June 15, 2018, 10:41 p.m. UTC | #1
On 06/15/2018 04:57 PM, Luke Shumaker wrote:
> From: Luke Shumaker <lukeshu@parabola.nu>

1) dbscripts, not devtools :)

2) could you squash these as "fix typoed variables"? They're in theme
with each other, no need to commit each instance as a separate commit.
diff mbox

Patch

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