summaryrefslogtreecommitdiff
path: root/lua_scripts
diff options
context:
space:
mode:
authorPasi Savanainen <ext-pasi.m.savanainen@nokia.com>2009-01-29 14:23:02 +0200
committerLauri Leukkunen <lle@rahina.org>2009-02-10 08:38:10 +0200
commitc33806b15ee26ef48ea54aa83b043894f11aaf5e (patch)
tree57f5cc3e13afaf190687313bc3d7de824174bb79 /lua_scripts
parent34f86de08d0b1a543c344dc2e68666dc2987fd3e (diff)
Hardcoded mapping /usr/share/scratchbox2 replaced by sbox_dir .. "/share/scratchbox2" to make sb2 works also from other than /usr/bin directory.
Signed-off-by: Lauri Aarnio <Lauri.Aarnio@iki.fi>
Diffstat (limited to 'lua_scripts')
-rw-r--r--lua_scripts/pathmaps/devel/00_default.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua_scripts/pathmaps/devel/00_default.lua b/lua_scripts/pathmaps/devel/00_default.lua
index 0ebf354..41e3b9c 100644
--- a/lua_scripts/pathmaps/devel/00_default.lua
+++ b/lua_scripts/pathmaps/devel/00_default.lua
@@ -203,9 +203,9 @@ devel_mode_rules_usr_share = {
-- -----------------------------------------------
-- 1. General SB2 environment:
- {prefix = "/usr/share/scratchbox2/host_usr",
+ {prefix = sbox_dir .. "/share/scratchbox2/host_usr",
replace_by = "/usr", readonly = true},
- {prefix = "/usr/share/scratchbox2",
+ {prefix = sbox_dir .. "/share/scratchbox2",
use_orig_path = true, readonly = true},
-- -----------------------------------------------