]> git.deb.at Git - deb/packages.git/commitdiff
parse-packages: be friendlier to syntax highlighting
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 21 Oct 2007 22:20:33 +0000 (00:20 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 21 Oct 2007 23:14:01 +0000 (01:14 +0200)
bin/parse-packages

index 6e27c3a2bae3802ccac3ba26b31df412980d194d..3c783234ed9bef24fc59fa5c4a35426e72a5d06a 100755 (executable)
@@ -303,7 +303,7 @@ for (my $i=1; $i<= $#descriptions; $i++) {
                }
            }
            if ($tags) {
-               foreach my $t (split /, /, $tags) {
+               foreach my $t (split m/, /, $tags) {
                    if ($doc->add_term($t)) {
                        warn "can't add term $t: $!\n";
                    }