Add double quotes to prevent expansion from shell.

This commit is contained in:
Andrius Štikonas 2009-05-10 00:42:22 +03:00
vanhempi 8189061cec
commit c7ed490ce3
10 muutettua tiedostoa jossa 12 lisäystä ja 12 poistoa

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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

Näytä tiedosto

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