Lukas Fleischer f44b307e22 calcurse-upgrade: Change location of temporary file
Instead of creating the temporary file in a central location, place it
in the same directory as the configuration file. Pros:

* No need to rely on the "$TMPDIR" environment variable.

* Multiple users can upgrade their configuration files at the same time,
  even if "$!" isn't set properly.

* One user can upgrade several configuration files (in different
  directories or with different file names) at once.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
2012-06-01 16:07:48 +02:00
..