changed getting $GITNOW_DIR value for msysGit or others.

This commit is contained in:
TAKANO Sho / @masaru_b_cl 2012-06-25 16:28:19 +09:00
parent 067eb03194
commit 458b2a2b05

View file

@ -5,7 +5,10 @@ if [ "$DEBUG" = "yes" ]; then
set -x
fi
export GITNOW_DIR=${0%\\*}
GITNOW_DIR=$0
GITNOW_DIR=${GITNOW_DIR%\\*} # for msysGit
GITNOW_DIR=${GITNOW_DIR%/*} # for others
export GITNOW_DIR
PREFIX="from now"
usage() {