Skip to content

Commit c1aa3a3

Browse files
author
Daan Hoogland
committed
strip leading spaces from path
1 parent 3beb75c commit c1aa3a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/appliance/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ done
5656
# Get appliance uuids
5757
machine_uuid=`vboxmanage showvminfo $appliance | grep UUID | head -1 | awk '{print $2}'`
5858
hdd_uuid=`vboxmanage showvminfo $appliance | grep vdi | head -1 | awk '{print $8}' | cut -d ')' -f 1`
59-
hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14-`
59+
hdd_path=`vboxmanage list hdds | grep "$appliance\/" | grep vdi | cut -c 14- | sed 's/^ *//'`
6060

6161
# Remove any shared folder
6262
shared_folders=`vboxmanage showvminfo $appliance | grep Name | grep Host`

0 commit comments

Comments
 (0)