diff options
author | Allan McRae <allan@archlinux.org> | 2015-05-12 11:56:59 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-05-12 14:00:55 +1000 |
commit | 99c7b1b0882ccf816fcabdc937b05260422df1f3 (patch) | |
tree | bd4d6a07208bab37450144a2143ce7a7c9a9b63a /scripts/libmakepkg/lint_package | |
parent | 9a9e0203de9a440be0e359a36bf55151ffb51ca6 (diff) | |
download | pacman-99c7b1b0882ccf816fcabdc937b05260422df1f3.tar.xz |
libmakepkg: fix test bracket style
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_package')
-rw-r--r-- | scripts/libmakepkg/lint_package/build_references.sh.in | 2 | ||||
-rw-r--r-- | scripts/libmakepkg/lint_package/missing_backup.sh.in | 2 |
2 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. # -[ -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 <http://www.gnu.org/licenses/>. # -[ -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@'} |