This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 4a6c2a796a3d4d3e36931932c61b95158e2826e1
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Mon Jul 22 10:45:52 2013 -0700

    Support develop feature as well
---
 lib/Carton/Builder.pm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/lib/Carton/Builder.pm b/lib/Carton/Builder.pm
index 5e8160a..69e2e6e 100644
--- a/lib/Carton/Builder.pm
+++ b/lib/Carton/Builder.pm
@@ -63,11 +63,8 @@ sub groups {
     my @options = ('--with-all-features', '--with-develop');
 
     for my $group (@{$self->without}) {
-        if ($group eq 'develop') {
-            push @options, '--without-develop';
-        } else {
-            push @options, "--without-feature=$group";
-        }
+        push @options, '--without-develop' if $group eq 'develop';
+        push @options, "--without-feature=$group";
     }
 
     return @options;

-- 
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

Reply via email to