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

This commit is contained in:
Jesse Andrews 2011-10-19 14:21:08 -07:00
parent 3fc8571bba
commit c8d9ce4ef4

View file

@ -301,8 +301,6 @@ function git_clone {
fi fi
if [ ! -d $2 ]; then if [ ! -d $2 ]; then
sudo mkdir $2
sudo chown `whoami` $2
git clone $1 $2 git clone $1 $2
cd $2 cd $2
# This checkout syntax works for both branches and tags # This checkout syntax works for both branches and tags