summaryrefslogtreecommitdiff
path: root/bin/stagit-new-repo
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stagit-new-repo')
-rwxr-xr-xbin/stagit-new-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stagit-new-repo b/bin/stagit-new-repo
index 9a9f923..bcd0b2a 100755
--- a/bin/stagit-new-repo
+++ b/bin/stagit-new-repo
@@ -19,7 +19,7 @@ www="/var/www/git"
echo "Initializing git repository..."
git init --bare "$srv/$repo.git"
-cp "$/usr/local/share/post-receive" "$srv/$repo.git/hooks/post-receive"
+cp "/usr/local/share/post-receive" "$srv/$repo.git/hooks/post-receive"
chmod u+x "$srv/$repo.git/hooks/post-receive"
echo "git@$uri:$repo.git" > "$srv/$repo.git/url"
echo "$owner" > "$srv/$repo.git/owner"