Add patch from Ian Burrell to support .tgz archives.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
* Exclude NINJA.
|
* Exclude NINJA.
|
||||||
* Do a case-insensitive match on the possible licenses.
|
* Do a case-insensitive match on the possible licenses.
|
||||||
|
* Add a patch from Ian Burrell to support .tgz archives.
|
||||||
|
|
||||||
1.66 2006-05-16
|
1.66 2006-05-16
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
#
|
#
|
||||||
# $Id: cpanspec,v 1.29 2006/05/25 00:33:47 stevenpritchard Exp $
|
# $Id: cpanspec,v 1.30 2006/07/01 23:16:09 stevenpritchard Exp $
|
||||||
|
|
||||||
our $NAME="cpanspec";
|
our $NAME="cpanspec";
|
||||||
our $VERSION='1.67';
|
our $VERSION='1.67';
|
||||||
@@ -543,6 +543,10 @@ for my $file (@args) {
|
|||||||
$name=$1;
|
$name=$1;
|
||||||
$version=$2;
|
$version=$2;
|
||||||
$type=$3;
|
$type=$3;
|
||||||
|
} elsif ($file =~ /^(.*)-([^-]+)\.tgz$/) {
|
||||||
|
$name=$1;
|
||||||
|
$version=$2;
|
||||||
|
$type = 'tar';
|
||||||
} elsif ($file =~ /^(.*)-([^-]+)\.(zip)$/) {
|
} elsif ($file =~ /^(.*)-([^-]+)\.(zip)$/) {
|
||||||
$name=$1;
|
$name=$1;
|
||||||
$version=$2;
|
$version=$2;
|
||||||
|
|||||||
Reference in New Issue
Block a user