summaryrefslogtreecommitdiffstats
path: root/preps
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-06-15 02:43:22 +0200
committerJustin Davis <jrcd83@gmail.com>2012-06-15 02:43:22 +0200
commit8f294e9fb0e139d54cafcdba791875ef4fea4c20 (patch)
tree565ef93a7cb521a74cb2892174ad1d2030f7360b /preps
parent3e761dc5ad3699c24c182400a76ed3d532e1e7d5 (diff)
downloadgenpkg-8f294e9fb0e139d54cafcdba791875ef4fea4c20.tar.gz
genpkg-8f294e9fb0e139d54cafcdba791875ef4fea4c20.tar.xz
Cleanup pkg/dest when package is not found.
Diffstat (limited to 'preps')
-rwxr-xr-xpreps/perl6
1 files changed, 3 insertions, 3 deletions
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);