Prevent shell interpolation of gbs configuration variables
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 26 Sep 2017 11:03:26 +0000 (13:03 +0200)
committerJun Wang <junbill.wang@samsung.com>
Wed, 11 Oct 2017 06:13:30 +0000 (14:13 +0800)
Change-Id: I25cce8ec04f88e15202a712fff1a45e450342dca
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
depanneur

index 35392879e652b5903872ea6d3f4b368fe6bf463f..790fd70969b16a1b78bab21d5c631171b3534c08 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -721,10 +721,10 @@ sub gbs_export {
         push @args, "--commit=$commit";
     }
     if (! $upstream_branch eq "") {
-        push @args, "--upstream-branch=$upstream_branch";
+        push @args, "--upstream-branch='$upstream_branch'";
     }
     if (! $upstream_tag eq "") {
-        push @args, "--upstream-tag=$upstream_tag";
+        push @args, "--upstream-tag='$upstream_tag'";
     }
     if ($fallback_to_native == 1) {
         push @args, "--fallback-to-native";