diff mbox series

[OSSTEST,3/6] mg-repro-setup: Fix runvar adjustment shell syntax

Message ID 20190425155056.23145-4-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show
Series stretch fallout: run 32-bit builds on 64-bit Linux | expand

Commit Message

Ian Jackson April 25, 2019, 3:50 p.m. UTC
-r would fail with a bash syntax error.  This bug has existed ever
since this feature was introduced.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
 mg-repro-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/mg-repro-setup b/mg-repro-setup
index 37ccb59d..6ed4d85e 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -108,7 +108,7 @@  adjrunvar () {
 for arg in "${adjustsets[@]}"; do
 	case "$arg" in
 	!*|^*)	delrunvar "${arg#?}"		;;
-	*=*)	adjrunvar "${arg%%=*}" "{$arg#*=}"	;;
+	*=*)	adjrunvar "${arg%%=*}" "${arg#*=}"	;;
 	*)	bad-adjuistset-pattern			;;
 	esac
 done