From 47e36f2866da1785f9b01ae312c5b795b9678cf2 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 12 Feb 2022 18:08:53 +0100 Subject: fix: remove $ from hook path --- bin/stagit-new-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-70-g09d2