From e135361f5388839c28bf8d3db804e8558c7645a7 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Tue, 11 Sep 2012 02:21:31 -0400 Subject: [PATCH] actually that was needed, but bug remains. seems like the environment::set for TMP is not carrying through to the child process's environment somehow? --- nucleus/applications/bundler/bundle_creator.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nucleus/applications/bundler/bundle_creator.cpp b/nucleus/applications/bundler/bundle_creator.cpp index 52affc8f..c537aa4f 100644 --- a/nucleus/applications/bundler/bundle_creator.cpp +++ b/nucleus/applications/bundler/bundle_creator.cpp @@ -465,12 +465,12 @@ int bundle_creator::read_manifest() BASE_LOG(astring("will set ") + _manifest_list[i]._payload + " = " + _manifest_list[i]._parms); astring new_value = parser_bits::substitute_env_vars(_manifest_list[i]._parms); -///why oh why are we allowing them to overwrite our actual environment just because they're bundling something? environment::set(_manifest_list[i]._payload, new_value); + environment::set(_manifest_list[i]._payload, new_value); -#ifdef DEBUG_BUNDLER +//#ifdef DEBUG_BUNDLER BASE_LOG(astring("** variable ") + _manifest_list[i]._payload + " should have value=" + new_value); BASE_LOG(astring("** variable ") + _manifest_list[i]._payload + " now does have value=" + environment::get(_manifest_list[i]._payload)); -#endif +//#endif continue; } else if (ini.get(section_name, "assert_defined", value)) { -- 2.34.1