diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2009-01-29 22:19:15 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2009-02-10 08:38:10 +0200 |
commit | bd94fb79e83bfa045e56c32aaa0375fc9f1f5dd2 (patch) | |
tree | ed84ad3cee5a37ca471e51050e067452cdef7843 | |
parent | db29687fcab466521fb087b1006d2426a15246d8 (diff) |
Bugfix: fixed a bug introduced by the Argv&envp mangling rules generator patch
-rwxr-xr-x | utils/sb2 | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1160,11 +1160,6 @@ export LD_LIBRARY_PATH # ------------ # Now everything is ready, programs can be executed in SB2'ed environment. # Make automatically generated rules, if needed: -if [ -n "CREATE_ARGVMODS_USR_BIN_RULES" ] -then - create_argvmods_usr_bin_rules "$CREATE_ARGVMODS_USR_BIN_RULES" -fi - if [ -z "$SBOX_JOIN_SESSION_FILE" ]; then # # Only generate argvmods rules when we are not joining @@ -1172,6 +1167,13 @@ if [ -z "$SBOX_JOIN_SESSION_FILE" ]; then # create_argvmods_rules + # if needed, create path mapping rules for toolchain components. + # this can only be done after "create_argvmods_rules" has been executed. + if [ -n "CREATE_ARGVMODS_USR_BIN_RULES" ] + then + create_argvmods_usr_bin_rules "$CREATE_ARGVMODS_USR_BIN_RULES" + fi + # # Create reverse mapping rules before starting the # actual command (or shell). |