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
commit0bd9da49bbc773ba7338a76666397e9cee22051a (patch)
tree114c3c1ad6315526c767cd4cccb4fb08fecc9c46
parent2abe6957dc904475e1e2438a0d7fd3629cdd78c8 (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";