diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-04 20:29:12 +0200 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2020-04-05 12:34:54 +0200 |
commit | 6804cde82ccba5a0765432caa91fb95df01b2026 (patch) | |
tree | cd492a0fdf1b86a540e1ec8cbeb29ae0de9aad26 /src/main/distrib/linux/reindex-tickets.sh | |
parent | 803d4171bf24e82612c526d65de77aa580c8a62f (diff) | |
download | gitblit-6804cde82ccba5a0765432caa91fb95df01b2026.tar.gz gitblit-6804cde82ccba5a0765432caa91fb95df01b2026.zip |
Change tests in shell scripts to be more compatible with Bourne shell
This is needed for the scripts to work in Alpine Linux, which
comes with a Bourne shell.
Diffstat (limited to 'src/main/distrib/linux/reindex-tickets.sh')
-rw-r--r-- | src/main/distrib/linux/reindex-tickets.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/distrib/linux/reindex-tickets.sh b/src/main/distrib/linux/reindex-tickets.sh index 8261b819..6985d606 100644 --- a/src/main/distrib/linux/reindex-tickets.sh +++ b/src/main/distrib/linux/reindex-tickets.sh @@ -11,7 +11,7 @@ # # -------------------------------------------------------------------------- -if [[ -z $1 ]]; then +if [ -z $1 ] ; then echo "Please specify your baseFolder!"; echo ""; echo "usage:"; |