Skip to content

Commit

Permalink
clone with submodules, close LukeSmithxyz#326
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeSmithxyz committed Feb 18, 2021
1 parent 9452e29 commit 845b4b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
custom: ["https://lukesmith.xyz/donate.html"]
github: lukesmithxyz
custom: ["https://lukesmith.xyz/donate", "https://paypal.me/lukemsmith", "https://lukesmith.xyz/crypto"]
patreon: lukesmith
2 changes: 1 addition & 1 deletion larbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ putgitrepo() { # Downloads a gitrepo $1 and places the files in $2 only overwrit
dir=$(mktemp -d)
[ ! -d "$2" ] && mkdir -p "$2"
chown "$name":wheel "$dir" "$2"
sudo -u "$name" git clone --recursive -b "$branch" --depth 1 "$1" "$dir" >/dev/null 2>&1
sudo -u "$name" git clone --recursive -b "$branch" --depth 1 --recurse-submodules "$1" "$dir" >/dev/null 2>&1
sudo -u "$name" cp -rfT "$dir" "$2"
}

Expand Down

0 comments on commit 845b4b4

Please sign in to comment.