diff --git a/applysed b/applysed index 643cd7f..573ee91 100755 --- a/applysed +++ b/applysed @@ -20,7 +20,7 @@ # ths-applysed.sh - apply a sed script to the whole project (the sed commands # have to be supplied in an external file). -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" function usage() { echo "Usage: `basename $0` " diff --git a/autotranslate b/autotranslate index 2b101a6..5311d2a 100755 --- a/autotranslate +++ b/autotranslate @@ -18,7 +18,7 @@ # # ths-autotranslate.sh - automatically translates project files (may initialize files that have not been started to translate) using a specified compendium. -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGINIT ]; then echo -e $RED"This program needs the msginit utility."$ENDCOLOR diff --git a/checkout b/checkout index 607c301..b10ba2e 100755 --- a/checkout +++ b/checkout @@ -14,7 +14,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! -f $THS ]; then echo "Please enter your language code (Default: lt):" diff --git a/init-po-files b/init-po-files index 3e1fafd..223d5ea 100755 --- a/init-po-files +++ b/init-po-files @@ -14,8 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -source `dirname $0`/ths-variables -source $THS +source "`dirname $0`/ths-variables" +source "$THS" if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then echo "Usage `basename $0` " diff --git a/pack-po-files b/pack-po-files index 42fcb6c..5b648bf 100755 --- a/pack-po-files +++ b/pack-po-files @@ -14,8 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -source `dirname $0`/ths-variables -source $THS +source "`dirname $0`/ths-variables" +source "$THS" tar cfvj trunk.tar.bz2 `svn status $potrunk | awk '{print $2}'` tar cfvj stable.tar.bz2 `svn status $postable | awk '{print $2}'` diff --git a/pocompare b/pocompare index 0acdb3a..0ca7e34 100755 --- a/pocompare +++ b/pocompare @@ -19,7 +19,7 @@ # ths-pocompare.sh - compare two translation files using diff, unwrapps first # for best comparison. -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGMERGE ]; then echo -e $RED"This program needs the msgmerge utility."$ENDCOLOR diff --git a/pocompare-kdiff3 b/pocompare-kdiff3 index a1f1820..38ef8db 100755 --- a/pocompare-kdiff3 +++ b/pocompare-kdiff3 @@ -19,7 +19,7 @@ # ths-pocompare-kdiff3.sh - compare two translation files using kdiff3, # unwrapps first for best comparison. -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGMERGE ]; then echo -e $RED"This program needs the msgmerge utility."$ENDCOLOR diff --git a/potopot b/potopot index ea1ec21..409f6d7 100755 --- a/potopot +++ b/potopot @@ -19,7 +19,7 @@ # ths-potopot.sh - converts po files to pot (template) files (basically # strips all the translation). -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGMERGE ]; then echo -e $RED"This program needs the msgmerge utility."$ENDCOLOR diff --git a/poupdate b/poupdate index a0b5ea2..c7b4b38 100755 --- a/poupdate +++ b/poupdate @@ -22,7 +22,7 @@ ## First - the necessary checks before going into the loop -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGMERGE ]; then echo -e $RED"This program needs the msgmerge utility."$ENDCOLOR diff --git a/stripfuzzy b/stripfuzzy index 9417172..9cdc3a1 100755 --- a/stripfuzzy +++ b/stripfuzzy @@ -18,7 +18,7 @@ # # ths-stripfuzzy.sh - makes all fuzzy strings non-fuzzy in a translation project. -source `dirname $0`/ths-variables +source "`dirname $0`/ths-variables" if [ ! $MSGMERGE ]; then echo -e $RED"This program needs the msgmerge utility."$ENDCOLOR