summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2009-03-05 15:05:32 +0200
committerLauri Leukkunen <lle@rahina.org>2009-03-07 16:05:39 +0200
commit96d2af631908df62e471e02f171bf2f212bc4212 (patch)
tree320aaad6d84c8ae7e6432e02a5f1f7488302c973
parent4e1b147c170633166818218b2908a27ce03a59d0 (diff)
"devel" mode bugfix: Don't reverse automatically generated /usr/bin/* rules
- don't create reverse mapping rules for programs that belong to the cross-gcc toolchain, etc. This is needed because otherwise "gcc" won't be able to find "cc1"; this is important once we have a better reverse rule generator (=really soon)
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index 1de0619..88288c5 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -400,7 +400,8 @@ devel_mode_rules_usr_bin = {
{prefix = "/usr/bin/python", actions = python_bin_test},
-- next, automatically generated rules for /usr/bin:
- {dir = "/usr/bin", chain = argvmods_rules_for_usr_bin},
+ {dir = "/usr/bin", chain = argvmods_rules_for_usr_bin,
+ virtual_path = true}, -- don't reverse these.
-- and finally, the default:
{dir = "/usr/bin",