summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xgit-init-remote4
1 files 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"
20 20
21# Add a description 21# Add a description
22echo -n "Repo description: "; read 22echo -n "Repo description: "; read
23echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote'\"" 23echo "ssh \"$GITREMOTE\" sh -c \"echo '$REPLY' > '$remote/description'\""
24ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote'" 24ssh "$GITREMOTE" sh -c "echo '$REPLY' > '$remote/description'"
25 25
26# Add post-update-hook 26# Add post-update-hook
27echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\"" 27echo "scp post-update.hook \"$GITREMOTE:$remote/hooks/post-update\""