permissions and mkdir fix
This commit is contained in:
parent
4bbfa6127b
commit
05ccd5977d
1 changed files with 1 additions and 0 deletions
1
larbs.sh
1
larbs.sh
|
@ -122,6 +122,7 @@ putgitrepo() { # Downlods a gitrepo $1 and places the files in $2 only overwriti
|
|||
dir=$(mktemp -d)
|
||||
chown -R $name:wheel $dir
|
||||
sudo -u $name git clone --depth 1 $1 $dir/gitrepo &>/dev/null &&
|
||||
sudo -u $name mkdir -p "$2" &&
|
||||
sudo -u $name cp -rT $dir/gitrepo $2
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue