pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/scripts if the top level package cache file does no...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d7c075783a9
branches:  trunk
changeset: 494088:9d7c075783a9
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Thu May 19 03:50:39 2005 +0000

description:
if the top level package cache file does not exist then exit with
a fatal error.  Noted by Christian Hattemer.

diffstat:

 mk/scripts/genreadme.awk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r c8bf52b736ea -r 9d7c075783a9 mk/scripts/genreadme.awk
--- a/mk/scripts/genreadme.awk  Thu May 19 03:09:52 2005 +0000
+++ b/mk/scripts/genreadme.awk  Thu May 19 03:50:39 2005 +0000
@@ -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 load_cache_file( file ) {
+  fatal_check_file( file );
 
   if( debug ) printf("load_cache_file(%s)\n", file);
 



Home | Main Index | Thread Index | Old Index