diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-06-15 02:43:22 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-06-15 02:43:22 +0200 |
commit | 8f294e9fb0e139d54cafcdba791875ef4fea4c20 (patch) | |
tree | 565ef93a7cb521a74cb2892174ad1d2030f7360b /preps/perl | |
parent | 3e761dc5ad3699c24c182400a76ed3d532e1e7d5 (diff) | |
download | genpkg-8f294e9fb0e139d54cafcdba791875ef4fea4c20.tar.gz genpkg-8f294e9fb0e139d54cafcdba791875ef4fea4c20.tar.xz |
Cleanup pkg/dest when package is not found.
Diffstat (limited to 'preps/perl')
-rwxr-xr-x | preps/perl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); |