Add double quotes to prevent expansion from shell.
This commit is contained in:
parent
8189061cec
commit
c7ed490ce3
2
applysed
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>"
|
||||
|
|
|
@ -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
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):"
|
||||
|
|
|
@ -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>"
|
||||
|
|
|
@ -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}'`
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
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
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
|
||||
|
|
|
@ -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…
Reference in New Issue