summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/calcurse-upgrade.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/calcurse-upgrade.sh.in b/scripts/calcurse-upgrade.sh.in
index 8789604..c235874 100644
--- a/scripts/calcurse-upgrade.sh.in
+++ b/scripts/calcurse-upgrade.sh.in
@@ -40,7 +40,7 @@ if grep -q -e '^auto_save=' -e '^auto_gc=' -e '^periodic_save=' \
echo "$(gettext "Pre-3.0.0 configuration file format detected...")"
- tmpfile="${TMPDIR:-/tmp}/calcurse-upgrade.$!"
+ tmpfile="$CONFFILE.calcurse-upgrade.tmp"
[ -e "$tmpfile" ] && exit 1
echo -n "$(gettext "Upgrade configuration directives...")"