aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-10-06 08:42:41 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-10-06 08:42:41 -0500
commitb9036db1e5e965dc395d978397e8151ca9ab59fd (patch)
tree5be0a1deb3a05b6ac59b6ea1bfc088b3043f098c
parentae4a62999a4c4c26ad4bae13867721dc0f6ad694 (diff)
downloadsbotools2-b9036db1e5e965dc395d978397e8151ca9ab59fd.tar.xz
fix bug where, when circular requirements are found, the default chocie is claimed to be no, but is actually yes
-rwxr-xr-xsboupgrade2
1 files changed, 1 insertions, 1 deletions
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] ';
- <STDIN> =~ /^[Yy\n]/ ? return : exit 0;
+ <STDIN> =~ /^[Yy]/ ? return : exit 0;
}
}
return $requires;