summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2006-10-18 19:18:12 +0000
committerben <ben@pkgsrc.org>2006-10-18 19:18:12 +0000
commit73c7e3adbf5aef8b416960a80d81b08f0861ee15 (patch)
tree988422b7215288538a336423a11f9f6740d956e1 /mk
parentfdbc35826fbf926f3951ab43682f01984634a5d6 (diff)
downloadpkgsrc-73c7e3adbf5aef8b416960a80d81b08f0861ee15.tar.gz
Add cformat= to avoid an error and exit on the undefined variable.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/extract/extract3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/extract/extract b/mk/extract/extract
index a941e40036d..7d3a94ea063 100755
--- a/mk/extract/extract
+++ b/mk/extract/extract
@@ -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 @@ exclude_flag=
extract_dir=.
extract_using=tar
format=
+cformat=
# Process optional arguments
while ${TEST} $# -gt 0; do