From 366adc3bb07f0082c8417e60fe7fc41fff211123 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Sun, 17 May 2015 22:48:59 +1000 Subject: libmakepkg: fix test style Signed-off-by: Allan McRae --- scripts/libmakepkg/util/message.sh | 2 +- scripts/libmakepkg/util/option.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/libmakepkg') diff --git a/scripts/libmakepkg/util/message.sh b/scripts/libmakepkg/util/message.sh index 15208ef8..c2c1982e 100644 --- a/scripts/libmakepkg/util/message.sh +++ b/scripts/libmakepkg/util/message.sh @@ -19,7 +19,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_UTIL_MESSAGE_SH" ] && return +[[ -n "$LIBMAKEPKG_UTIL_MESSAGE_SH" ]] && return LIBMAKEPKG_UTIL_MESSAGE_SH=1 diff --git a/scripts/libmakepkg/util/option.sh b/scripts/libmakepkg/util/option.sh index fc649288..1b2d94dc 100644 --- a/scripts/libmakepkg/util/option.sh +++ b/scripts/libmakepkg/util/option.sh @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_UTIL_OPTION_SH" ] && return +[[ -n "$LIBMAKEPKG_UTIL_OPTION_SH" ]] && return LIBMAKEPKG_UTIL_OPTION_SH=1 -- cgit v1.2.3-70-g09d2