summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";