Skip to content

Commit d743e6b

Browse files
committed
Fix configure script for macOS compatibility
Signed-off-by: Thomas Druez <[email protected]>
1 parent 33f95ff commit d743e6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ CONF_DEFAULT="etc/conf"
1616

1717
CFG_CMD_LINE_ARGS="$@"
1818

19-
if [ "$1" == "--init" ]; then
19+
if [[ "$1" == "--init" ]]; then
2020
CFG_CMD_LINE_ARGS=$CONF_INIT
2121
fi
2222

23-
if [ "$1" == "" ]; then
23+
if [[ "$1" == "" ]]; then
2424
# default conf if not argument is provided
2525
CFG_CMD_LINE_ARGS=$CONF_DEFAULT
2626
fi

0 commit comments

Comments
 (0)