From a8500ed73ea6873812e10e258d5a7db8446b33eb Mon Sep 17 00:00:00 2001 From: Leo Simons Date: Thu, 4 Sep 2014 15:22:28 +0200 Subject: [PATCH] CLOUDSTACK-7143: survive / in branch names --- tools/appliance/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index db21dade21d..f9c6b75d306 100755 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -125,7 +125,7 @@ clean_vbox="${clean_vbox:-}" # while building with vbox, we need a quite unique appliance name in order to prevent conflicts with multiple # concurrent executors on jenkins if [ -z "${branch}" ] ; then - branch=`(git name-rev --no-undefined --name-only HEAD 2>/dev/null || echo unknown) | sed -e 's/remotes\/.*\///g'` + branch=`(git name-rev --no-undefined --name-only HEAD 2>/dev/null || echo unknown) | sed -e 's/remotes\/.*\///g' | sed -e 's|/|_|g'` fi branch_tag=