How can I distinguish between development/unit test runs and production runs with regard to the temp/cache dir location?
What I would like to do is use pp to create and test-execute the code using a development specific temp/cache dir location, but use a different location when installed and run later. In other words, I would like to hard code the production location at compile time and override it when the developer runs the unit test at build time. How can I do that? Also, is there anything wrong with using /tmp? Thanks in advance! -- cg