From 6e17c74abff6101b68e11c9d04af612ca9088a4c Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Fri, 26 Mar 2010 21:29:26 +0530 Subject: [PATCH] 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! --- src/gl-easy-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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