diff options
author | rillig <rillig@pkgsrc.org> | 2020-09-12 06:55:08 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-09-12 06:55:08 +0000 |
commit | 9dfbd804e9496a5311a080c541fd9b02402b18da (patch) | |
tree | f73a01b195735233877a515ceb294a1ab88d9ea7 | |
parent | f60bd79ea792e5907e1efbe748f83a49ed75c01d (diff) | |
download | pkgsrc-9dfbd804e9496a5311a080c541fd9b02402b18da.tar.gz |
mk/plist: fail fast on programming mistake
-rw-r--r-- | mk/plist/plist-functions.awk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/plist/plist-functions.awk b/mk/plist/plist-functions.awk index 734b81e7902..24b415ebfac 100644 --- a/mk/plist/plist-functions.awk +++ b/mk/plist/plist-functions.awk @@ -1,4 +1,4 @@ -# $NetBSD: plist-functions.awk,v 1.3 2018/08/22 20:48:37 maya Exp $ +# $NetBSD: plist-functions.awk,v 1.4 2020/09/12 06:55:08 rillig Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -55,4 +55,5 @@ function getenv_or_die(varname) { if (varname in ENVIRON) return ENVIRON[varname] print "ERROR: "varname" must be defined." | "cat 1>&2" + exit(1) } |