commit a9d5f843e86507d359fc6d5b1f032d82dc1f6987
parent 40b9ae55a4f7993752814983f6b5d5a1b676dade
Author: Jacob Pipkin <j@dawnrazor.net>
Date: Sat, 7 Jul 2012 01:35:07 -0500
enhancement to requirement-parsing
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/sboupgrade b/sboupgrade
@@ -90,6 +90,8 @@ sub grok_requirements {
my ($sbo, $readme) = @_;
my $readme_orig = $readme;
for ($readme) {
+ # deal with and at end of line
+ s/and/and /g;
# work around missing period at end of list of requirements (given 2
# \ns), or no period at end of whole thing.
s/$/./;