From c1aa3a3f1aa99330ad95cc4fbc5e72d057a7ed8f Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 27 Feb 2014 16:11:52 +0100 Subject: [PATCH] strip leading spaces from path --- 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 7ba0611d2de..f150a83cac8 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -56,7 +56,7 @@ done # Get appliance uuids machine_uuid=`vboxmanage showvminfo $appliance | grep UUID | head -1 | awk '{print $2}'` hdd_uuid=`vboxmanage showvminfo $appliance | grep vdi | head -1 | awk '{print $8}' | cut -d ')' -f 1` -hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14-` +hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14- | sed 's/^ *//'` # Remove any shared folder shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`