aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-07-07 01:35:07 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-07-07 01:35:07 -0500
commita9d5f843e86507d359fc6d5b1f032d82dc1f6987 (patch)
treeecb58a7b8d07f9d325460e52ed891a5a4b435b19
parent40b9ae55a4f7993752814983f6b5d5a1b676dade (diff)
downloadsbotools2-a9d5f843e86507d359fc6d5b1f032d82dc1f6987.tar.xz
enhancement to requirement-parsing
-rwxr-xr-xsboupgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/sboupgrade b/sboupgrade
index 5ec6e3a..f80bd47 100755
--- 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/$/./;