CC: | Slaven Rezic <slaven [...] rezic.de> |
Subject: | [PATCH 1/2] cpan-import has to be called with --backpan option |
Date: | Sun, 15 Feb 2009 00:15:43 +0100 |
To: | bug-Git-CPAN-Patch [...] rt.cpan.org |
From: | Slaven Rezic <slaven [...] rezic.de> |
---
scripts/git-backpan-init | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/git-backpan-init b/scripts/git-backpan-init
index 082b620..7f71bf3 100755
--- a/scripts/git-backpan-init
+++ b/scripts/git-backpan-init
@@ -54,7 +54,7 @@ my @dists = $backpan->distributions($module)
foreach my $dist ( @dists ) {
say "importing " . $dist->distvname;
my $url = 'http://backpan.perl.org/' . $dist->prefix;
- $repo->command_noisy('cpan-import' => $url);
+ $repo->command_noisy('cpan-import', '--backpan', $url);
}
$repo->command_noisy('checkout', '-t', '-b', 'master', 'cpan/master');
--
1.6.1