[pacman-dev] [PATCH 3/5] libmakepkg: fix test style
Allan McRae
allan at archlinux.org
Sun May 17 14:11:14 UTC 2015
Signed-off-by: Allan McRae <allan at archlinux.org>
---
scripts/libmakepkg/util/message.sh | 2 +-
scripts/libmakepkg/util/option.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/libmakepkg/util/message.sh b/scripts/libmakepkg/util/message.sh
index 15208ef..c2c1982 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 fc64928..1b2d94d 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
--
2.4.1
More information about the pacman-dev
mailing list