diff --git a/larbs.sh b/larbs.sh index c6f714c..5181456 100755 --- a/larbs.sh +++ b/larbs.sh @@ -175,7 +175,7 @@ putgitrepo() { dir=$(mktemp -d) [ ! -d "$2" ] && mkdir -p "$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" \ --recurse-submodules "$1" "$dir" sudo -u "$name" cp -rfT "$dir" "$2"