Merge branch 'master' of github.com:LukeSmithxyz/LARBS

This commit is contained in:
Luke Smith 2022-07-01 11:21:04 -04:00
commit 1e22901bcb

View File

@ -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"