summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_regress/files
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2016-06-11 10:31:06 +0000
committerrillig <rillig@pkgsrc.org>2016-06-11 10:31:06 +0000
commit9864f48e607b3cdf3cad937fa90741ac4fd30187 (patch)
tree7f940eb69911de7fe3fda0c48c5444e019b7f8af /pkgtools/pkg_regress/files
parent2317b9d2b093cc497e194ac43f282f5e4a90eed9 (diff)
downloadpkgsrc-9864f48e607b3cdf3cad937fa90741ac4fd30187.tar.gz
Don't fail when a regression test uses "set -eu".
Diffstat (limited to 'pkgtools/pkg_regress/files')
-rwxr-xr-xpkgtools/pkg_regress/files/pkg_regress.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkg_regress/files/pkg_regress.sh b/pkgtools/pkg_regress/files/pkg_regress.sh
index cde08558140..9a48a15b34f 100755
--- a/pkgtools/pkg_regress/files/pkg_regress.sh
+++ b/pkgtools/pkg_regress/files/pkg_regress.sh
@@ -1,6 +1,6 @@
#! @SH@
#
-# $NetBSD: pkg_regress.sh,v 1.5 2016/06/11 09:37:16 rillig Exp $
+# $NetBSD: pkg_regress.sh,v 1.6 2016/06/11 10:31:06 rillig Exp $
#
set -e
@@ -89,7 +89,7 @@ do_runtest() {
do_cleanup
- if [ -n "$MAKEARGS_CLEAN" ]; then
+ if [ -n "${MAKEARGS_CLEAN-}" ]; then
$TEST_MAKE $MAKEARGS_CLEAN >>$TEST_OUTFILE
fi