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!
This commit is contained in:
Sitaram Chamarty 2010-03-26 21:29:26 +05:30
parent 7bfb3676b7
commit 6e17c74abf

View file

@ -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