]> git.ipfire.org Git - thirdparty/git.git/commitdiff
In some places I have git in $HOME/git.git
authorJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 02:35:57 +0000 (19:35 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Apr 2009 02:35:57 +0000 (19:35 -0700)
DoKernelOrg

index 3fbfe5e0642547261d7f063685e8e3735407b415..d5637c5fd39c34fa6e6ddefcfb5c96535186cd7a 100755 (executable)
@@ -10,7 +10,7 @@ esac
 : ${J='-l 4 -j'}
 G=/pub/software/scm/git &&
 
-cd $HOME/git &&
+(cd $HOME/git 2>/dev/null || cd $HOME/git.git || exit ) &&
 make clean >/dev/null 2>&1 &&
 git reset --hard &&
 make clean >/dev/null 2>&1 &&