summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/ubuntu/ubuntu-bin-image
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/ubuntu/ubuntu-bin-image')
-rwxr-xr-xsca-cpp/trunk/ubuntu/ubuntu-bin-image6
1 files changed, 4 insertions, 2 deletions
diff --git a/sca-cpp/trunk/ubuntu/ubuntu-bin-image b/sca-cpp/trunk/ubuntu/ubuntu-bin-image
index 7a8e6e166c..303cd940d4 100755
--- a/sca-cpp/trunk/ubuntu/ubuntu-bin-image
+++ b/sca-cpp/trunk/ubuntu/ubuntu-bin-image
@@ -26,9 +26,11 @@ set -x
sudo apt-get update
# Create install directory
+u=`id -un`
+g=`id -gn`
sudo mkdir -p /mnt/tuscany
-sudo chown ubuntu /mnt/tuscany
-sudo chgrp ubuntu /mnt/tuscany
+sudo chown $u /mnt/tuscany
+sudo chgrp $g /mnt/tuscany
cd /mnt/tuscany
# Install system tools and libraries