summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cs.cmu.edu>2011-02-11 10:43:44 -0500
committerChris Dyer <cdyer@cs.cmu.edu>2011-02-11 10:43:44 -0500
commite50c5c5b545c61b1e824070a11d5d4215311496e (patch)
treef57265148ee7dcfd9a70a7972241e1eb714b9383
parentee9ddb76dac8d20c06a34c7da373838f046b1b9f (diff)
vest fix
-rwxr-xr-xvest/dist-vest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/vest/dist-vest.pl b/vest/dist-vest.pl
index 1852fa5a..0a1c06c3 100755
--- a/vest/dist-vest.pl
+++ b/vest/dist-vest.pl
@@ -592,7 +592,7 @@ sub enseg {
my $i=0;
while (my $line=<SRC>){
chomp $line;
- if (/^\s*<seg/i) {
+ if ($line =~ /^\s*<seg/i) {
print NEWSRC "$line\n";
} else {
print NEWSRC "<seg id=\"$i\">$line</seg>\n";