mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Run script from correct dir
This commit is contained in:
parent
01e3e13865
commit
4f52f22735
|
|
@ -13,7 +13,13 @@ then
|
|||
echo "This pull remote transifex files to local dir."
|
||||
echo "Note: If you pull a language file (not source), file will be skipped if local file is newer."
|
||||
echo " Using -f will overwrite local file (does not work with 'all')."
|
||||
echo "Usage: txpull.sh (all|xx_XX) [-r dolibarr.file] [-f]"
|
||||
echo "Usage: ./dev/translation/txpull.sh (all|xx_XX) [-r dolibarr.file] [-f]"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -d ".tx" ]
|
||||
then
|
||||
echo "Script must be ran from root directory of project with command ./dev/translation/txpull.sh"
|
||||
exit
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -13,10 +13,15 @@ then
|
|||
echo "This push local files to transifex."
|
||||
echo "Note: If you push a language file (not source), file will be skipped if transifex file is newer."
|
||||
echo " Using -f will overwrite translation but not memory."
|
||||
echo "Usage: txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
|
||||
echo "Usage: ./dev/translation/txpush.sh (source|all|xx_XX) [-r dolibarr.file] [-f] [--no-interactive]"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ ! -d ".tx" ]
|
||||
then
|
||||
echo "Script must be ran from root directory of project with command ./dev/translation/txpush.sh"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ "x$1" = "xall" ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user