X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Fapplications%2Fbundler%2Funpacker_stub.cpp;h=8782e2d8ae656c38e9f7d17befa9649f54bd4970;hb=f2cd4d9e0a4c8a6594ce9c438ed7c71cdae6e558;hp=a515d8ccb79e9786dc8c8fd74e8ce3405c3b4b51;hpb=26ec1dc25e8142729a1ebf3058d48289e2548a50;p=feisty_meow.git diff --git a/nucleus/applications/bundler/unpacker_stub.cpp b/nucleus/applications/bundler/unpacker_stub.cpp index a515d8cc..8782e2d8 100644 --- a/nucleus/applications/bundler/unpacker_stub.cpp +++ b/nucleus/applications/bundler/unpacker_stub.cpp @@ -196,11 +196,6 @@ int unpacker_stub::execute() astring target; cmds.get_value("target", target); if (!target) { -/* no, this is wrong headed. make them supply a target if there is - * no default target provided in the bundle. - // a bogus default is provided if they don't specify the destination. - target = environment::get("TMP") + "/unbundled"; -*/ provided_target = false; } else { //LOG(astring("target is now ") + target); @@ -212,7 +207,7 @@ int unpacker_stub::execute() astring logdir = environment::get(LOGDIR_WORD); #ifdef __WIN32__ if (!logdir) { - logdir = environment::get("TMP") + "/logs"; + logdir = environment::TMP() + "/logs"; environment::set(LOGDIR_WORD, logdir); } #else