removed last places the TMP variables was getting deranged.
[feisty_meow.git] / nucleus / applications / bundler / bundle_creator.cpp
index c537aa4f7c92ec710a530316ffe85966c134e330..8212edc32e63b10d0063fc69d67542f29bd0d7b6 100644 (file)
@@ -239,6 +239,10 @@ Abandoning bundling process.\n", _app_name.s()));
   environment::set("DLL_START", "");
   environment::set("DLL_END", ".dll");
 #endif
+  // specify a target variable on the source side so that we can operate in there,
+  // even if the bundle doesn't specify one.  otherwise we can't run source side commands
+  // properly if the paths are based on TARGET (like TMP often is).
+  environment::set("TARGET", environment::TMP());
 
   int ret = 0;
   if ( (ret = read_manifest()) ) FAIL_RETURN(ret, "reading manifest");