From: Vincent Pit Date: Sun, 5 May 2013 18:58:56 +0000 (+0200) Subject: Make the gengentooisms script dies if the timestamp cannot be fetched X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=961a3a0b428269fd404fc461fb07d9b3f45dd745;p=perl%2Fmodules%2FCPANPLUS-Dist-Gentoo.git Make the gengentooisms script dies if the timestamp cannot be fetched --- diff --git a/samples/gengentooisms b/samples/gengentooisms index a1482d1..0c39c00 100755 --- a/samples/gengentooisms +++ b/samples/gengentooisms @@ -44,6 +44,8 @@ sub p { } my $timestamp = CPANPLUS::Dist::Gentoo::Maps::get_portage_timestamp(PORTAGE); +die 'Could not read the timestamp from the portage tree ' . PORTAGE . "\n" + unless defined $timestamp; { my $ua;