From daba06f1caa5e21fa5a99625d8be2dc62058eac5 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 6 Nov 2006 02:31:05 +0100 Subject: [PATCH] Fix trivial (but fatal) escaping error --- clone.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clone.sh b/clone.sh index d06b638..23f4d2f 100755 --- a/clone.sh +++ b/clone.sh @@ -35,7 +35,7 @@ fi bang git clone "${ref[@]}" --bare "$url" repodir GIT_DIR=repodir bang git repack -a -d ! [ -d /srv/git/"$proj".git ] -lproj="$(echo "$proj" | sed 's/^(.*\/)\(.*\)/\1/')" +lproj="$(echo "$proj" | sed 's/^\(.*\/\)\(.*\)/\1/')" if [ z"$lproj" != z"$proj" ]; then bang mkdir -p /srv/git/"$lproj" fi -- 2.11.4.GIT