summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2009-03-17 17:48:16 +0200
committerLauri Leukkunen <lle@rahina.org>2009-03-23 01:37:48 +0200
commit259e1fe6ead8c8723a6bc3a4035fc5ca822b6556 (patch)
treedc08348ae53f46b578c95ceae6862b46a2d53eac /lua_scripts
parent18a064f7bb06bad27a3d67ddf6e2c485bf69f87b (diff)
Bugfix: reverse rule generator failed to process "dir" rules correctly
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/create_reverse_rules.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua_scripts/create_reverse_rules.lua b/lua_scripts/create_reverse_rules.lua
index a209e7d..82301e0 100644
--- a/lua_scripts/create_reverse_rules.lua
+++ b/lua_scripts/create_reverse_rules.lua
@@ -251,6 +251,9 @@ function print_rules(rules)
if (rule.path) then
print("\t path=\""..rule.path.."\",")
end
+ if (rule.dir) then
+ print("\t dir=\""..rule.dir.."\",")
+ end
if (rule.use_orig_path) then
print("\t use_orig_path=true,")