winlin

use /usr/local/bin for osx.

@@ -6,7 +6,7 @@ echo "cd `pwd` &&" >git-ensure-commit && @@ -6,7 +6,7 @@ echo "cd `pwd` &&" >git-ensure-commit &&
6 echo "bash `pwd`/git.commit.sh" >>git-ensure-commit && 6 echo "bash `pwd`/git.commit.sh" >>git-ensure-commit &&
7 chmod +x git-ensure-commit && 7 chmod +x git-ensure-commit &&
8 sudo rm -f /bin/git-ensure-commit && 8 sudo rm -f /bin/git-ensure-commit &&
9 -sudo mv git-ensure-commit /bin/git-ensure-commit 9 +sudo mv git-ensure-commit /usr/local/bin/git-ensure-commit
10 END 10 END
11 11
12 echo "submit code to github.com" 12 echo "submit code to github.com"