summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xuploadNewGit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/uploadNewGit.sh b/uploadNewGit.sh
index cf29f15..a4c7ec8 100755
--- a/uploadNewGit.sh
+++ b/uploadNewGit.sh
@@ -21,7 +21,8 @@ echo "Writing config.."
echo " repo $name"
echo " RW+CD = $(whoami)"
echo " R = @all"
-echo " $name \"$(git config --get user.name)\" = \"$description\"") >> gitolite.conf
+echo " owner = \"$(git config --get user.name)\""
+echo " desc = \"$description\"") >> gitolite.conf
git commit -a -m "Adding $name to repository."
git push
popd > /dev/null