From 79a03c3697ce561708db41c9cf1083a47939b837 Mon Sep 17 00:00:00 2001 From: heinz Date: Fri, 4 Jan 2008 21:50:27 +0000 Subject: 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. --- mk/pkginstall/dirs | 4 ++-- mk/pkginstall/files | 4 ++-- 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 ;; *) -- cgit v1.2.3