pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/plist



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Sep 12 06:55:08 UTC 2020

Modified Files:
        pkgsrc/mk/plist: plist-functions.awk

Log Message:
mk/plist: fail fast on programming mistake


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mk/plist/plist-functions.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/plist/plist-functions.awk
diff -u pkgsrc/mk/plist/plist-functions.awk:1.3 pkgsrc/mk/plist/plist-functions.awk:1.4
--- pkgsrc/mk/plist/plist-functions.awk:1.3     Wed Aug 22 20:48:37 2018
+++ pkgsrc/mk/plist/plist-functions.awk Sat Sep 12 06:55:08 2020
@@ -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)
 }



Home | Main Index | Thread Index | Old Index