Work whatever is running dir

This commit is contained in:
Laurent Destailleur 2019-12-05 18:30:26 +01:00
parent a7571054f0
commit 4ae26be878
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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