pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Use SIGUSR1 instead of SIGINT, since the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8ab5e5f08f38
branches:  trunk
changeset: 535560:8ab5e5f08f38
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Nov 22 10:08:38 2007 +0000

description:
Use SIGUSR1 instead of SIGINT, since the latter may occur indepenently
and should be handled like everywhere else.

diffstat:

 mk/flavor/pkg/list-dependencies |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 8ad146433a53 -r 8ab5e5f08f38 mk/flavor/pkg/list-dependencies
--- a/mk/flavor/pkg/list-dependencies   Thu Nov 22 10:04:31 2007 +0000
+++ b/mk/flavor/pkg/list-dependencies   Thu Nov 22 10:08:38 2007 +0000
@@ -40,11 +40,11 @@
 
 set -e
 
-trap "exit 1" INT
+trap "exit 1" USR1
 
 reduce_depends() {
        ${AWK} -f ${PKGSRCDIR}/mk/flavor/pkg/reduce-depends.awk "$1" \
-       || kill -INT $$
+       || kill -USR1 $$
 }
 
 print_entries() {



Home | Main Index | Thread Index | Old Index