summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-01-23 17:52:02 +0000
committerwiz <wiz@pkgsrc.org>2006-01-23 17:52:02 +0000
commit6b00839b12a2179724489a0afcd66d9ac25013d0 (patch)
tree372bbbdfa1ce798af7bb2a4af751741d23a11227 /mk
parent84847331e878053341ecda829f0c45f1cb0cb4e2 (diff)
downloadpkgsrc-6b00839b12a2179724489a0afcd66d9ac25013d0.tar.gz
Handle *.ZIP the same way as *.zip -- fixes fonts/cyberbit-ttf extraction.
Diffstat (limited to 'mk')
-rwxr-xr-xmk/scripts/extract4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/scripts/extract b/mk/scripts/extract
index ddfb161ca79..db8db094f9b 100755
--- a/mk/scripts/extract
+++ b/mk/scripts/extract
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: extract,v 1.14 2006/01/21 19:26:09 jlam Exp $
+# $NetBSD: extract,v 1.15 2006/01/23 17:52:02 wiz Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -171,7 +171,7 @@ case "$distfile" in
_format=tar ;;
*.shar.gz|*.shar.bz2|*.shar.Z|*.shar|*.shr.gz|*.shr.bz2|*.shr.Z|*.shr)
_format=shar ;;
-*.zip) _format=zip ;;
+*.zip|*.ZIP) _format=zip ;;
*.lha|*.lzh) _format=lha ;;
*.Z|*.bz2|*.gz|*.z)
_format=compressed ;;