I am having trouble setting the location of the temporary directory for the Perforce visual client (p4v) on Ubuntu 11.10.
Basically it is currently set to the current working directory. I want the temporary files to be written to /tmp. For example, when resolving a file, the temporary file written should be something like /tmp/tmp.6991.496
From the docs that looks like what the default behaviour should be anyways: http://www.perforce.com/perforce/doc.current/manuals/cmdref/env.TMP.html#1040647
I've tried setting this environment variable a number of ways as described here: http://www.perforce.com/perforce/doc.current/manuals/cmdref/set.html#1040665 but with no success.
I installed the p4v client to /usr/local/p4v.latest/ and have /usr/local/p4v.latest/bin in my path and just launch the client with "p4v"
Any help in this is much appreciated