pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/extract Add cformat= to avoid an error and exit on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ac8346b69cdd
branches:  trunk
changeset: 520287:ac8346b69cdd
user:      ben <ben%pkgsrc.org@localhost>
date:      Wed Oct 18 19:18:12 2006 +0000

description:
Add cformat= to avoid an error and exit on the undefined variable.

diffstat:

 mk/extract/extract |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r bbb45b8a0b60 -r ac8346b69cdd mk/extract/extract
--- a/mk/extract/extract        Wed Oct 18 18:54:03 2006 +0000
+++ b/mk/extract/extract        Wed Oct 18 19:18:12 2006 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: extract,v 1.5 2006/10/18 16:17:42 ben Exp $
+# $NetBSD: extract,v 1.6 2006/10/18 19:18:12 ben Exp $
 #
 # Copyright (c) 2006 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -131,6 +131,7 @@
 extract_dir=.
 extract_using=tar
 format=
+cformat=
 
 # Process optional arguments
 while ${TEST} $# -gt 0; do



Home | Main Index | Thread Index | Old Index