From 99c7b1b0882ccf816fcabdc937b05260422df1f3 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 12 May 2015 11:56:59 +1000 Subject: libmakepkg: fix test bracket style Signed-off-by: Allan McRae --- scripts/libmakepkg/lint_package.sh.in | 2 +- scripts/libmakepkg/lint_package/build_references.sh.in | 2 +- scripts/libmakepkg/lint_package/missing_backup.sh.in | 2 +- scripts/libmakepkg/tidy.sh.in | 2 +- scripts/libmakepkg/tidy/docs.sh.in | 2 +- scripts/libmakepkg/tidy/emptydirs.sh.in | 2 +- scripts/libmakepkg/tidy/libtool.sh.in | 2 +- scripts/libmakepkg/tidy/optipng.sh.in | 2 +- scripts/libmakepkg/tidy/purge.sh.in | 2 +- scripts/libmakepkg/tidy/staticlibs.sh.in | 2 +- scripts/libmakepkg/tidy/strip.sh.in | 2 +- scripts/libmakepkg/tidy/upx.sh.in | 2 +- scripts/libmakepkg/tidy/zipman.sh.in | 2 +- scripts/libmakepkg/util.sh.in | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) (limited to 'scripts') diff --git a/scripts/libmakepkg/lint_package.sh.in b/scripts/libmakepkg/lint_package.sh.in index e5e23bbd..62556394 100644 --- a/scripts/libmakepkg/lint_package.sh.in +++ b/scripts/libmakepkg/lint_package.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_LINT_PACKAGE_SH" ] && return +[[ -n "$LIBMAKEPKG_LINT_PACKAGE_SH" ]] && return LIBMAKEPKG_LINT_PACKAGE_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/lint_package/build_references.sh.in b/scripts/libmakepkg/lint_package/build_references.sh.in index 6b03e484..a11b263f 100644 --- a/scripts/libmakepkg/lint_package/build_references.sh.in +++ b/scripts/libmakepkg/lint_package/build_references.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_LINT_PACKAGE_BUILD_REFERENCES_SH" ] && return +[[ -n "$LIBMAKEPKG_LINT_PACKAGE_BUILD_REFERENCES_SH" ]] && return LIBMAKEPKG_LINT_PACKAGE_BUILD_REFERENCES_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/lint_package/missing_backup.sh.in b/scripts/libmakepkg/lint_package/missing_backup.sh.in index 64d5a64a..f2a230b6 100644 --- a/scripts/libmakepkg/lint_package/missing_backup.sh.in +++ b/scripts/libmakepkg/lint_package/missing_backup.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_LINT_PACKAGE_MISSING_BACKUP_SH" ] && return +[[ -n "$LIBMAKEPKG_LINT_PACKAGE_MISSING_BACKUP_SH" ]] && return LIBMAKEPKG_LINT_PACKAGE_MISSING_BACKUP_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy.sh.in b/scripts/libmakepkg/tidy.sh.in index 1f439ba2..8514a9af 100644 --- a/scripts/libmakepkg/tidy.sh.in +++ b/scripts/libmakepkg/tidy.sh.in @@ -19,7 +19,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_SH" ]] && return LIBMAKEPKG_TIDY_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/docs.sh.in b/scripts/libmakepkg/tidy/docs.sh.in index a9791302..34dd36a3 100644 --- a/scripts/libmakepkg/tidy/docs.sh.in +++ b/scripts/libmakepkg/tidy/docs.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_DOCS_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_DOCS_SH" ]] && return LIBMAKEPKG_TIDY_DOCS_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/emptydirs.sh.in b/scripts/libmakepkg/tidy/emptydirs.sh.in index c7103e9e..17886492 100644 --- a/scripts/libmakepkg/tidy/emptydirs.sh.in +++ b/scripts/libmakepkg/tidy/emptydirs.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_EMPTYDIRS_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_EMPTYDIRS_SH" ]] && return LIBMAKEPKG_TIDY_EMPTYDIRS_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/libtool.sh.in b/scripts/libmakepkg/tidy/libtool.sh.in index b9c62452..64a638fe 100644 --- a/scripts/libmakepkg/tidy/libtool.sh.in +++ b/scripts/libmakepkg/tidy/libtool.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_LIBTOOL_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_LIBTOOL_SH" ]] && return LIBMAKEPKG_TIDY_LIBTOOL_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/optipng.sh.in b/scripts/libmakepkg/tidy/optipng.sh.in index f739a823..2322f66f 100644 --- a/scripts/libmakepkg/tidy/optipng.sh.in +++ b/scripts/libmakepkg/tidy/optipng.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_OPTIPNG_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_OPTIPNG_SH" ]] && return LIBMAKEPKG_TIDY_OPTIPNG_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/purge.sh.in b/scripts/libmakepkg/tidy/purge.sh.in index 948f001d..625ce415 100644 --- a/scripts/libmakepkg/tidy/purge.sh.in +++ b/scripts/libmakepkg/tidy/purge.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_PURGE_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_PURGE_SH" ]] && return LIBMAKEPKG_TIDY_PURGE_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/staticlibs.sh.in b/scripts/libmakepkg/tidy/staticlibs.sh.in index 4849aba9..73cbf898 100644 --- a/scripts/libmakepkg/tidy/staticlibs.sh.in +++ b/scripts/libmakepkg/tidy/staticlibs.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_STATICLIBS_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_STATICLIBS_SH" ]] && return LIBMAKEPKG_TIDY_STATICLIBS_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in index 12a7eee3..40d7c56e 100644 --- a/scripts/libmakepkg/tidy/strip.sh.in +++ b/scripts/libmakepkg/tidy/strip.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_STRIP_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_STRIP_SH" ]] && return LIBMAKEPKG_TIDY_STRIP_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/upx.sh.in b/scripts/libmakepkg/tidy/upx.sh.in index 49104658..8ebd0947 100644 --- a/scripts/libmakepkg/tidy/upx.sh.in +++ b/scripts/libmakepkg/tidy/upx.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_UPX_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_UPX_SH" ]] && return LIBMAKEPKG_TIDY_UPX_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/tidy/zipman.sh.in b/scripts/libmakepkg/tidy/zipman.sh.in index a08a60fa..e4f0e546 100644 --- a/scripts/libmakepkg/tidy/zipman.sh.in +++ b/scripts/libmakepkg/tidy/zipman.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_TIDY_ZIPMAN_SH" ] && return +[[ -n "$LIBMAKEPKG_TIDY_ZIPMAN_SH" ]] && return LIBMAKEPKG_TIDY_ZIPMAN_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} diff --git a/scripts/libmakepkg/util.sh.in b/scripts/libmakepkg/util.sh.in index 86c76590..f884b6a6 100644 --- a/scripts/libmakepkg/util.sh.in +++ b/scripts/libmakepkg/util.sh.in @@ -18,7 +18,7 @@ # along with this program. If not, see . # -[ -n "$LIBMAKEPKG_UTIL_SH" ] && return +[[ -n "$LIBMAKEPKG_UTIL_SH" ]] && return LIBMAKEPKG_UTIL_SH=1 LIBRARY=${LIBRARY:-'@libmakepkgdir@'} -- cgit v1.2.3-70-g09d2