[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



-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@xxxxxxxxxxxxx>
---
 mg-repro-setup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.