Merge branch 'master' of github.com:LukeSmithxyz/LARBS
This commit is contained in:
commit
1e22901bcb
2
larbs.sh
2
larbs.sh
@ -175,7 +175,7 @@ putgitrepo() {
|
|||||||
dir=$(mktemp -d)
|
dir=$(mktemp -d)
|
||||||
[ ! -d "$2" ] && mkdir -p "$2"
|
[ ! -d "$2" ] && mkdir -p "$2"
|
||||||
chown "$name":wheel "$dir" "$2"
|
chown "$name":wheel "$dir" "$2"
|
||||||
sudo -u "$name" git -C "$repodir/$1" clone --depth 1 \
|
sudo -u "$name" git -C "$repodir" clone --depth 1 \
|
||||||
--single-branch --no-tags -q --recursive -b "$branch" \
|
--single-branch --no-tags -q --recursive -b "$branch" \
|
||||||
--recurse-submodules "$1" "$dir"
|
--recurse-submodules "$1" "$dir"
|
||||||
sudo -u "$name" cp -rfT "$dir" "$2"
|
sudo -u "$name" cp -rfT "$dir" "$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user