projects
/
conv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
f3ee86f
)
Allow - in file extensions
author
Chip Black
<bytex64@bytex64.net>
Wed, 31 Dec 2008 23:47:58 +0000
(17:47 -0600)
committer
Chip Black
<bytex64@bytex64.net>
Wed, 31 Dec 2008 23:47:58 +0000
(17:47 -0600)
conv.pl
patch
|
blob
|
history
diff --git
a/conv.pl
b/conv.pl
index
2378828
..
50d205d
100755
(executable)
--- a/
conv.pl
+++ b/
conv.pl
@@
-75,7
+75,7
@@
while (<CONF>) {
s/\s+$//;
next if /^$/;
s/\s+$//;
next if /^$/;
- if (/^([\w.
]+)\s*=>\s*([\w.
]+)\s*:\s*(.*)$/) {
+ if (/^([\w.
-]+)\s*=>\s*([\w.-
]+)\s*:\s*(.*)$/) {
$rules{$2}{$1} = $3;
} elsif (/^($var_re)\s*=\s*(.*)$/) {
$vars{$1} = expand($2);
$rules{$2}{$1} = $3;
} elsif (/^($var_re)\s*=\s*(.*)$/) {
$vars{$1} = expand($2);