diff options
author | heinz <heinz@pkgsrc.org> | 2008-01-04 21:50:27 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-01-04 21:50:27 +0000 |
commit | 79a03c3697ce561708db41c9cf1083a47939b837 (patch) | |
tree | 7c602d04f34cb8496ffd85297cd7875ff049c460 /mk/pkginstall | |
parent | db9c198216c4addd1d93d12c02e83e23e9a2b4f9 (diff) | |
download | pkgsrc-79a03c3697ce561708db41c9cf1083a47939b837.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/dirs | 4 | ||||
-rw-r--r-- | 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 ;; *) |