summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinnok <admin@shinnok.com>2017-12-18 11:17:14 +0100
committerJan Holesovsky <kendy@collabora.com>2018-08-06 18:23:12 +0200
commit7cad887a2b76895a7a2770e9666ef96735e723cc (patch)
tree63eabb1a609eeed5e09fe5610c0b750836c1d6c5
parent689dfdecab510eb5c6be8f11858d3d58dc7b29c1 (diff)
Use quotes around positional args.
Change-Id: I34daf14c83b83085ca5f8ef643e7418893da5924 Reviewed-on: https://gerrit.libreoffice.org/46696 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-rwxr-xr-xhelp3xsl/makehelp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/help3xsl/makehelp.sh b/help3xsl/makehelp.sh
index 60e07d8145..cf3d78a48e 100755
--- a/help3xsl/makehelp.sh
+++ b/help3xsl/makehelp.sh
@@ -18,12 +18,12 @@ workDir=$(realpath '../../workdir')
langDirSource=$workDir'/HelpTranslatePartTarget'
offline="yes"
-if [ $1 == "no" ]
+if [ "$1" == "no" ]
then
offline="no"
fi
-if [ $2 == "yes" ]
+if [ "$2" == "yes" ]
then
mkdir -p $langDirSource/en-US/helpcontent2/source
cp -r ../source/text $langDirSource/en-US/helpcontent2/source/