summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaƂ <49817589+mikejbc@users.noreply.github.com>2020-03-09 00:33:52 +0100
committerGitHub <noreply@github.com>2020-03-09 00:33:52 +0100
commite5f30a7d8d85eb880ee6fb4961cb2c49486bb738 (patch)
treeb8c7ba6108d1e86292289e6d9cc7dcc4a09e3fb3
parent8a45d4f0b9443e1ed69d4973d5134b13d08b7ce0 (diff)
parent756b2335272918f42b836687c5df69fa1c315969 (diff)
Merge pull request #1 from mikejbc/putgitrepo-typo-fix
putgitrepo typo in larbs.sh fix
-rw-r--r--larbs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/larbs.sh b/larbs.sh
index 2dbbfa5..77f696b 100644
--- a/larbs.sh
+++ b/larbs.sh
@@ -142,7 +142,7 @@ putgitrepo() { # Downloads a gitrepo $1 and places the files in $2 only overwrit
dir=$(mktemp -d)
[ ! -d "$2" ] && mkdir -p "$2" && chown -R "$name:wheel" "$2"
chown -R "$name:wheel" "$dir"
- sudo -u "$name" git clone -b "$branch" --depth 1 "$1" "$dir/gitrepo" >/dev/null 2>&1 &&
+ sudo -u "$name" git clone -b "$branch" --depth 1 "$1" "$dir/gitrepo" >/dev/null 2>&1
sudo -u "$name" cp -rfT "$dir/gitrepo" "$2"
}