This is an automated email from the git hooks/post-receive script. kanashiro-guest pushed a commit to branch master in repository carton.
commit dd5dc6d2ce09628a3ee29b3fccc7a30f66123cb8 Author: Tatsuhiko Miyagawa <miyag...@bulknews.net> Date: Mon Apr 27 16:01:48 2015 -0700 exit 127 if the command is not found. #193 --- lib/Carton/CLI.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm index aa4dcf5..cea48ab 100644 --- a/lib/Carton/CLI.pm +++ b/lib/Carton/CLI.pm @@ -387,8 +387,12 @@ sub cmd_exec { local $ENV{PERL5LIB} = "$path/lib/perl5"; local $ENV{PATH} = "$path/bin:$ENV{PATH}"; - use warnings FATAL => 'all'; - $UseSystem ? system(@args) : exec(@args); + if ($UseSystem) { + system @args; + } else { + exec @args; + exit 127; # command not found + } } 1; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits