summaryrefslogtreecommitdiff
path: root/mk/pkginstall/files
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-01-04 21:50:27 +0000
committerheinz <heinz@pkgsrc.org>2008-01-04 21:50:27 +0000
commite4a24f7e5d6b1a40df27e3c1eec61ef01c1c7248 (patch)
tree7c602d04f34cb8496ffd85297cd7875ff049c460 /mk/pkginstall/files
parenta9308383e58c8286e25b160a5e22e257390120ce (diff)
downloadpkgsrc-e4a24f7e5d6b1a40df27e3c1eec61ef01c1c7248.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/files')
-rw-r--r--mk/pkginstall/files4
1 files changed, 2 insertions, 2 deletions
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
;;
*)