Gentoo Archives: gentoo-commits

From: Kent Fredric <kentfredric@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/perl-overlay:master commit in: scripts/
Date: Mon, 31 Oct 2011 07:10:55
Message-Id: b18b6d3f88cca14d9fc3a2c23e720517dde9420f.kent@gentoo
1 commit: b18b6d3f88cca14d9fc3a2c23e720517dde9420f
2 Author: Kent Fredric <kentfredric <AT> gmail <DOT> com>
3 AuthorDate: Mon Oct 31 07:07:35 2011 +0000
4 Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
5 CommitDate: Mon Oct 31 07:07:35 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=b18b6d3f
7
8 [scripts/gen_ebuild.pl] die with an error if the requested package can't be resolved
9
10 ---
11 scripts/gen_ebuild.pl | 4 ++++
12 1 files changed, 4 insertions(+), 0 deletions(-)
13
14 diff --git a/scripts/gen_ebuild.pl b/scripts/gen_ebuild.pl
15 index c70dba4..220ec13 100755
16 --- a/scripts/gen_ebuild.pl
17 +++ b/scripts/gen_ebuild.pl
18 @@ -55,6 +55,10 @@ my ($release) = shift(@ARGV);
19 require deptools;
20
21 my ( $release_info ) = deptools::get_deps( $release );
22 +
23 +if ( not $release_info ){
24 + die "Cannot find $release on MetaCPAN";
25 +}
26 my $dep_phases = deptools::get_dep_phases($release);
27
28 my @queue;