summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorben <ben>2006-10-18 19:18:12 +0000
committerben <ben>2006-10-18 19:18:12 +0000
commitabb8e96e8fc774a41fad66b3c2d324fe4040ef3d (patch)
tree988422b7215288538a336423a11f9f6740d956e1
parentc0ce500d5b87060c175e2f07628e5d00353f1035 (diff)
downloadpkgsrc-abb8e96e8fc774a41fad66b3c2d324fe4040ef3d.tar.gz
Add cformat= to avoid an error and exit on the undefined variable.
-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