summaryrefslogtreecommitdiff
path: root/mk/pkginstall
diff options
context:
space:
mode:
authorheinz <heinz>2008-01-04 21:50:27 +0000
committerheinz <heinz>2008-01-04 21:50:27 +0000
commit2a89d7a147d00325b06756c87c559be54a23b2ff (patch)
tree7c602d04f34cb8496ffd85297cd7875ff049c460 /mk/pkginstall
parente21d9a3cff7cb34743eaa536a5407ea2b370bf8c (diff)
downloadpkgsrc-2a89d7a147d00325b06756c87c559be54a23b2ff.tar.gz
In the CHECK-PERMS case, moved test of exit code one line up, so the
removal of tmpdir does not overwrite the exit code to be tested.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r--mk/pkginstall/dirs4
-rw-r--r--mk/pkginstall/files4
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/pkginstall/dirs b/mk/pkginstall/dirs
index b4b2416029a..2ae570e69c6 100644
--- a/mk/pkginstall/dirs
+++ b/mk/pkginstall/dirs
@@ -1,4 +1,4 @@
-# $NetBSD: dirs,v 1.3 2006/12/15 12:46:24 martti Exp $
+# $NetBSD: dirs,v 1.4 2008/01/04 21:50:27 heinz Exp $
#
# Generate a +DIRS script that reference counts directories that are
# required for the proper functioning of the package.
@@ -357,8 +357,8 @@ CHECK-PERMS)
exit 1
;;
esac; }
- ${RM} -fr $tmpdir
${TEST} $? -eq 0 || exitcode=1
+ ${RM} -fr $tmpdir
;;
*)
diff --git a/mk/pkginstall/files b/mk/pkginstall/files
index 61a3ff6715d..a8611cff65a 100644
--- a/mk/pkginstall/files
+++ b/mk/pkginstall/files
@@ -1,4 +1,4 @@
-# $NetBSD: files,v 1.4 2007/07/12 19:41:46 jlam Exp $
+# $NetBSD: files,v 1.5 2008/01/04 21:50:27 heinz Exp $
#
# Generate a +FILES script that reference counts config files that are
# required for the proper functioning of the package.
@@ -425,8 +425,8 @@ CHECK-PERMS)
exit 1
;;
esac; }
- ${RM} -fr $tmpdir
${TEST} $? -eq 0 || exitcode=1
+ ${RM} -fr $tmpdir
;;
*)