summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/util
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-05-17 14:48:59 +0200
committerAllan McRae <allan@archlinux.org>2015-05-19 15:43:00 +0200
commit366adc3bb07f0082c8417e60fe7fc41fff211123 (patch)
tree2901a051332a684bf6b5133e135da9dfb25f63b2 /scripts/libmakepkg/util
parent23e3c4852649a8803d049f81a6eab660f036f9cd (diff)
downloadpacman-366adc3bb07f0082c8417e60fe7fc41fff211123.tar.gz
pacman-366adc3bb07f0082c8417e60fe7fc41fff211123.tar.xz
libmakepkg: fix test style
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util')
-rw-r--r--scripts/libmakepkg/util/message.sh2
-rw-r--r--scripts/libmakepkg/util/option.sh2
2 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
#
-[ -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 <http://www.gnu.org/licenses/>.
#
-[ -n "$LIBMAKEPKG_UTIL_OPTION_SH" ] && return
+[[ -n "$LIBMAKEPKG_UTIL_OPTION_SH" ]] && return
LIBMAKEPKG_UTIL_OPTION_SH=1