Browse Source

Add double quotes to prevent expansion from shell.

master
Andrius Štikonas 13 years ago
parent
commit
c7ed490ce3
  1. 2
      applysed
  2. 2
      autotranslate
  3. 2
      checkout
  4. 4
      init-po-files
  5. 4
      pack-po-files
  6. 2
      pocompare
  7. 2
      pocompare-kdiff3
  8. 2
      potopot
  9. 2
      poupdate
  10. 2
      stripfuzzy

2
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` <file-with-replacement-list> <base-directory>"

2
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

2
checkout

@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
source `dirname $0`/ths-variables
source "`dirname $0`/ths-variables"
if [ ! -f $THS ]; then
echo "Please enter your language code (Default: lt):"

4
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 <http://www.gnu.org/licenses/>.
source `dirname $0`/ths-variables
source $THS
source "`dirname $0`/ths-variables"
source "$THS"
if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
echo "Usage `basename $0` <messages-tree> <pot-tree>"

4
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 <http://www.gnu.org/licenses/>.
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}'`

2
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

2
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

2
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

2
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

2
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

Loading…
Cancel
Save