diff options
-rwxr-xr-x | bin/prepkg | 2 | ||||
-rwxr-xr-x | preps/perl | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -39,10 +39,10 @@ do prepret=$? case "$prepret" in + 100) ;; # loop 0) basicmeta exit 0 ;; 1) err "$flav encountered an error" ;; - 2) ;; # loop *) err "$flav returned error code $prepret" ;; esac done @@ -80,9 +80,9 @@ sub main my ($realname, $cpath) = matchdist($dist); unless($realname){ if($guess){ - return 2 + return 100 }else{ - ## Return a hard error to makepkgmeta if perl- package. + ## Return a hard error to prepkg if perl- package. err(qq{failed to find perl dist similar to '$dist'}); return 1 } |