cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/4.3 to 14bd151
Date Tue, 02 Sep 2014 14:31:32 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/4.3 ab8fcd0b2 -> 14bd15151


strip leading spaces from path
(cherry picked from commit c1aa3a3f1aa99330ad95cc4fbc5e72d057a7ed8f)

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/14bd1515
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/14bd1515
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/14bd1515

Branch: refs/heads/4.3
Commit: 14bd1515129399eb9927081944e909275286284d
Parents: ab8fcd0
Author: Daan Hoogland <dhoogland@schubergphilis.com>
Authored: Thu Feb 27 16:11:52 2014 +0100
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Tue Sep 2 16:30:03 2014 +0200

----------------------------------------------------------------------
 tools/appliance/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/14bd1515/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index ddcaec9..d29f95b 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -46,7 +46,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`


Mime
View raw message