From af5fb34c70fccf178fab5ce8e70d7f04a3211380 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Mon, 6 Jul 2015 10:41:23 +0200 Subject: [PATCH] [fix] using bash for system use dash over bash --- bin/bancountmysql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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