diff options
author | rillig <rillig@pkgsrc.org> | 2007-11-22 09:59:59 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-11-22 09:59:59 +0000 |
commit | fa10ff91957ec19a61e8288aa1527bea9da71aba (patch) | |
tree | 10dc4afcd97e8286a4e21ca4828746adca4fcda3 /mk/flavor | |
parent | 2d7b42c2ed45df56add318a4fd1ba069ba6921aa (diff) | |
download | pkgsrc-fa10ff91957ec19a61e8288aa1527bea9da71aba.tar.gz |
Exit if reduce-depends produces an error.
Diffstat (limited to 'mk/flavor')
-rwxr-xr-x | mk/flavor/pkg/list-dependencies | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/flavor/pkg/list-dependencies b/mk/flavor/pkg/list-dependencies index dd57934b6db..198e3192227 100755 --- a/mk/flavor/pkg/list-dependencies +++ b/mk/flavor/pkg/list-dependencies @@ -37,12 +37,14 @@ ###################################################################### : ${ECHO:=echo} -: ${CAT:=cat} set -e +trap "exit 1" INT + reduce_depends() { - ${AWK} -f ${PKGSRCDIR}/mk/flavor/pkg/reduce-depends.awk "$1" + ${AWK} -f ${PKGSRCDIR}/mk/flavor/pkg/reduce-depends.awk "$1" \ + || kill -INT $$ } print_entries() { |