From b9036db1e5e965dc395d978397e8151ca9ab59fd Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Sat, 6 Oct 2012 08:42:41 -0500 Subject: fix bug where, when circular requirements are found, the default chocie is claimed to be no, but is actually yes --- sboupgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sboupgrade b/sboupgrade index 04d9732..c4c8e2f 100755 --- a/sboupgrade +++ b/sboupgrade @@ -133,7 +133,7 @@ sub get_requires ($$) { say "I am seeing circular requirements between $sbo and $req."; say "Therefore, I am not going to handle requirements for $sbo."; print 'Do you still wish to proceed? [n] '; - =~ /^[Yy\n]/ ? return : exit 0; + =~ /^[Yy]/ ? return : exit 0; } } return $requires; -- cgit v1.2.3