summaryrefslogtreecommitdiffstats
path: root/help3xsl
diff options
context:
space:
mode:
authorShinnok <admin@shinnok.com>2017-12-18 11:17:14 +0100
committerOlivier Hallot <olivier.hallot@libreoffice.org>2017-12-19 12:17:49 +0100
commit14c0b87b9fccf2bf053367da652e010af3d60752 (patch)
tree48119d48b557c23992a4177199a6d90e64b11280 /help3xsl
parenttdf#112155 Help page for Save a Copy (diff)
downloadhelp-14c0b87b9fccf2bf053367da652e010af3d60752.tar.gz
help-14c0b87b9fccf2bf053367da652e010af3d60752.zip
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>
Diffstat (limited to 'help3xsl')
-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/