vish points out that sudo isn't needed here since DEST is owned by user
This commit is contained in:
parent
3fc8571bba
commit
c8d9ce4ef4
1 changed files with 0 additions and 2 deletions
2
stack.sh
2
stack.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue