cleaning up usage of TMP variable to always get it from environment class.
[feisty_meow.git] / nucleus / applications / nechung / nechung.cpp
index 5c93f7c6a93c5404d2e8799b26b8021a41aa6707..70b33063fd2c68c981e7a10133b770a3d2c8ab49 100644 (file)
@@ -69,7 +69,7 @@ int main(int argc, char *argv[])
   tmp.zap( (end + 1) - extension.length(), end);
   tmp += "idx";
   astring base_part = filename(tmp).basename();
-  index_file_name = environment::get("TMP") + "/" + base_part;
+  index_file_name = environment::TMP() + "/" + base_part;
 #ifdef DEBUG_NECHUNG
   LOG(astring("index file is ") + index_file_name);
 #endif