Browse Source

Add double quotes to prevent expansion from shell.

master
Andrius Štikonas 11 years ago
parent
commit
c7ed490ce3
10 changed files with 12 additions and 12 deletions
  1. +1
    -1
      applysed
  2. +1
    -1
      autotranslate
  3. +1
    -1
      checkout
  4. +2
    -2
      init-po-files
  5. +2
    -2
      pack-po-files
  6. +1
    -1
      pocompare
  7. +1
    -1
      pocompare-kdiff3
  8. +1
    -1
      potopot
  9. +1
    -1
      poupdate
  10. +1
    -1
      stripfuzzy

+ 1
- 1
applysed View File

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


+ 1
- 1
autotranslate View File

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


+ 1
- 1
checkout View File

@@ -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):"


+ 2
- 2
init-po-files View File

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


+ 2
- 2
pack-po-files View File

@@ -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}'`


+ 1
- 1
pocompare View File

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


+ 1
- 1
pocompare-kdiff3 View File

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


+ 1
- 1
potopot View File

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


+ 1
- 1
poupdate View File

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


+ 1
- 1
stripfuzzy View File

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