diff --git a/dev/translation/txpull.sh b/dev/translation/txpull.sh index 0f8906353bd..c85ea12728b 100755 --- a/dev/translation/txpull.sh +++ b/dev/translation/txpull.sh @@ -7,6 +7,9 @@ # Usage: txpull.sh (all|xx_XX) [-r dolibarr.file] [-f] #------------------------------------------------------ +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +cd $DIR/../.. + # Syntax if [ "x$1" = "x" ] then diff --git a/dev/translation/txpush.sh b/dev/translation/txpush.sh index 339b24d2c30..428f7b8cbc2 100755 --- a/dev/translation/txpush.sh +++ b/dev/translation/txpush.sh @@ -9,6 +9,9 @@ export project='dolibarr' +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +cd $DIR/../.. + # Syntax if [ "x$1" = "x" ] then