larbs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 05ccd5977d81addc93a87b4999f98a0f2a473589
parent 4bbfa6127b08e10cba0fea09a2e1a54d9b74029f
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri,  3 Aug 2018 14:38:14 -0400

permissions and mkdir fix

Diffstat:
Mlarbs.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/larbs.sh b/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 }