diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-04 18:53:25 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2010-07-04 18:53:25 +0000 |
commit | d3748ed90ef6ede6952f5da8fbf5c5564134db1d (patch) | |
tree | 81a70e1e5a19d1d08caae83935e7a806cf75662b /sca-cpp/trunk/ubuntu/ubuntu-bin-image | |
parent | 446b4021373ac2dca03a103b6aab867b4016f12f (diff) |
Minor fixes to the Ubuntu build scripts.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@960382 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/ubuntu/ubuntu-bin-image')
-rwxr-xr-x | sca-cpp/trunk/ubuntu/ubuntu-bin-image | 6 |
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 |