Browse code

vish points out that sudo isn't needed here since DEST is owned by user

Jesse Andrews authored on 2011/10/20 06:21:08
Showing 1 changed files
... ...
@@ -301,8 +301,6 @@ function git_clone {
301 301
     fi
302 302
 
303 303
     if [ ! -d $2 ]; then
304
-        sudo mkdir $2
305
-        sudo chown `whoami` $2
306 304
         git clone $1 $2
307 305
         cd $2
308 306
         # This checkout syntax works for both branches and tags