aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2010-03-26 21:29:26 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2010-03-26 21:36:28 +0530
commit6e17c74abff6101b68e11c9d04af612ca9088a4c (patch)
tree357ba679dfc583b0c8a6dd682a5c48b120944474
parent@all for repos is now much cleaner; a true @all... (diff)
downloadgitolite-gentoo-6e17c74abff6101b68e11c9d04af612ca9088a4c.tar.gz
gitolite-gentoo-6e17c74abff6101b68e11c9d04af612ca9088a4c.tar.bz2
gitolite-gentoo-6e17c74abff6101b68e11c9d04af612ca9088a4c.zip
silly little PATH bug...
what this means is that until now, everyone who used easy-install (without needing to set $GIT_PATH in the rc file) had a client-side PATH that was perfectly valid on the server side also!
-rwxr-xr-xsrc/gl-easy-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl-easy-install b/src/gl-easy-install
index c4dfdb1..7a38f13 100755
--- a/src/gl-easy-install
+++ b/src/gl-easy-install
@@ -410,7 +410,7 @@ setup_pta() {
# space around the "=" in the second and third lines.
echo "cd $REPO_BASE/gitolite-admin.git
-PATH=$PATH:$GIT_PATH
+PATH=\$PATH:$GIT_PATH
GIT_WORK_TREE=$GL_ADMINDIR git add conf/gitolite.conf keydir
GIT_WORK_TREE=$GL_ADMINDIR git diff --cached --quiet 2>/dev/null || GIT_WORK_TREE=$GL_ADMINDIR git commit -am start
" | ssh -p $port $user@$host