summaryrefslogtreecommitdiff
path: root/mk/scripts
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2005-05-19 03:50:39 +0000
committerdmcmahill <dmcmahill>2005-05-19 03:50:39 +0000
commitc047487f2b38340a1486adcecc508e6103777665 (patch)
treed755c0fc925ba8d7378155e353f0a84ce32134cc /mk/scripts
parent3d1331a9bb96affb55213cc147e88f495adac9c7 (diff)
downloadpkgsrc-c047487f2b38340a1486adcecc508e6103777665.tar.gz
if the top level package cache file does not exist then exit with
a fatal error. Noted by Christian Hattemer.
Diffstat (limited to 'mk/scripts')
-rwxr-xr-xmk/scripts/genreadme.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/scripts/genreadme.awk b/mk/scripts/genreadme.awk
index fdc9c507c6c..378bc0d376b 100755
--- a/mk/scripts/genreadme.awk
+++ b/mk/scripts/genreadme.awk
@@ -1,5 +1,5 @@
#!/usr/bin/awk -f
-# $NetBSD: genreadme.awk,v 1.13 2005/05/17 21:46:59 dmcmahill Exp $
+# $NetBSD: genreadme.awk,v 1.14 2005/05/19 03:50:39 dmcmahill Exp $
#
# Copyright (c) 2002, 2003, 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -797,6 +797,7 @@ function copy_readme(old, new, cmd, rc) {
function load_cache_file( file ) {
+ fatal_check_file( file );
if( debug ) printf("load_cache_file(%s)\n", file);