From 8f294e9fb0e139d54cafcdba791875ef4fea4c20 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Thu, 14 Jun 2012 20:43:22 -0400 Subject: Cleanup pkg/dest when package is not found. --- preps/perl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'preps') diff --git a/preps/perl b/preps/perl index fe68323..5e88b06 100755 --- a/preps/perl +++ b/preps/perl @@ -82,9 +82,9 @@ sub main if($guess){ return 100 }else{ - ## Return a hard error to prepkg if perl- package. - err(qq{failed to find perl dist similar to '$dist'}); - return 1 + ## If its a perl- package tell prepkg to cleanup. + print STDERR qq{$PROG: failed to find perl dist similar to '$dist'\n}; + return 101 } } fetchdist($cpath); -- cgit v1.2.3-24-g4f1b