Skip to content

Commit 6804cde

Browse files
committed
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.
1 parent 803d417 commit 6804cde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/distrib/linux/migrate-tickets.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# --------------------------------------------------------------------------
1010

11-
if [[ -z $1 || -z $2 ]]; then
11+
if [ -z $1 ] || [ -z $2 ]; then
1212
echo "Please specify the output ticket service and your baseFolder!";
1313
echo "";
1414
echo "usage:";

src/main/distrib/linux/reindex-tickets.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# --------------------------------------------------------------------------
1313

14-
if [[ -z $1 ]]; then
14+
if [ -z $1 ] ; then
1515
echo "Please specify your baseFolder!";
1616
echo "";
1717
echo "usage:";

0 commit comments

Comments
 (0)