pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/pkginstall In the CHECK-PERMS case, moved test of e...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5db501dfcf75
branches: trunk
changeset: 537208:5db501dfcf75
user: heinz <heinz%pkgsrc.org@localhost>
date: Fri Jan 04 21:50:27 2008 +0000
description:
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:
mk/pkginstall/dirs | 4 ++--
mk/pkginstall/files | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r 4b426afe869b -r 5db501dfcf75 mk/pkginstall/dirs
--- a/mk/pkginstall/dirs Fri Jan 04 21:45:05 2008 +0000
+++ b/mk/pkginstall/dirs Fri Jan 04 21:50:27 2008 +0000
@@ -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 @@
exit 1
;;
esac; }
+ ${TEST} $? -eq 0 || exitcode=1
${RM} -fr $tmpdir
- ${TEST} $? -eq 0 || exitcode=1
;;
*)
diff -r 4b426afe869b -r 5db501dfcf75 mk/pkginstall/files
--- a/mk/pkginstall/files Fri Jan 04 21:45:05 2008 +0000
+++ b/mk/pkginstall/files Fri Jan 04 21:50:27 2008 +0000
@@ -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 @@
exit 1
;;
esac; }
+ ${TEST} $? -eq 0 || exitcode=1
${RM} -fr $tmpdir
- ${TEST} $? -eq 0 || exitcode=1
;;
*)
Home |
Main Index |
Thread Index |
Old Index