X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Fapplications%2Fbundler%2Fbundle_creator.cpp;h=8212edc32e63b10d0063fc69d67542f29bd0d7b6;hb=118b53690a49dead67f39e3bf38c54643bff9dd1;hp=c537aa4f7c92ec710a530316ffe85966c134e330;hpb=bffe9fba70b7ea1ab1b5d963b811d4637b021ee1;p=feisty_meow.git diff --git a/nucleus/applications/bundler/bundle_creator.cpp b/nucleus/applications/bundler/bundle_creator.cpp index c537aa4f..8212edc3 100644 --- a/nucleus/applications/bundler/bundle_creator.cpp +++ b/nucleus/applications/bundler/bundle_creator.cpp @@ -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");