diff options
author | Shinnok <admin@shinnok.com> | 2017-12-18 11:17:14 +0100 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2017-12-19 12:17:49 +0100 |
commit | 14c0b87b9fccf2bf053367da652e010af3d60752 (patch) | |
tree | 48119d48b557c23992a4177199a6d90e64b11280 /help3xsl/makehelp.sh | |
parent | b6e0ecde5fb3eafe88846f055a4917ac99d38e36 (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>
Diffstat (limited to 'help3xsl/makehelp.sh')
-rwxr-xr-x | help3xsl/makehelp.sh | 4 |
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/ |