From: Chris Koeritz Date: Tue, 11 Sep 2012 06:21:31 +0000 (-0400) Subject: actually that was needed, but bug remains. X-Git-Tag: 2.140.90~1243 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=e135361f5388839c28bf8d3db804e8558c7645a7;p=feisty_meow.git 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? --- 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)) {