From 424c41dc5fbb50953b21203ee40681ec75ef71c9 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sun, 28 May 2023 22:19:38 -0500 Subject: Correct description --- git-init-remote | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-init-remote b/git-init-remote index 4d8cb29..5a07bd5 100755 --- a/git-init-remote +++ b/git-init-remote @@ -20,8 +20,8 @@ ssh "$GITREMOTE" git init --bare "$remote" # Add a description echo -n "Repo description: "; read -echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote'\"" -ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote'" +echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote/description'\"" +ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote/description'" # Add post-update-hook echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" -- cgit 1.4.1-21-gabe81