diff --git a/bin/bancountmysql b/bin/bancountmysql index a8ff158..f5dede0 100755 --- a/bin/bancountmysql +++ b/bin/bancountmysql @@ -4,7 +4,7 @@ action=$1 ip=$2 service=$3 -curDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)" +curDir="$( cd "$( dirname $0 )" && pwd)" source $curDir/bancount.cfg