diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-06-15 02:06:02 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-06-15 02:06:02 +0200 |
commit | 12d8b95b387d64ddc51102f7704ae000b225dd4c (patch) | |
tree | 59cb6e41f0cde828054998e74ccf8c8b3d6c8bc9 | |
parent | 691eebb9413b6978de5ad778932f8e3204eeb7fc (diff) | |
download | genpkg-12d8b95b387d64ddc51102f7704ae000b225dd4c.tar.gz genpkg-12d8b95b387d64ddc51102f7704ae000b225dd4c.tar.xz |
preps return 100 when they can't find matches.
-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 } |