From c0df57a3543e79cb9b5effe62054d5415f70e837 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 15 Apr 2014 15:59:55 +0200 Subject: All globals are upper-case. Signed-off-by: Jason A. Donenfeld --- src/platform/freebsd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/platform/freebsd.sh') diff --git a/src/platform/freebsd.sh b/src/platform/freebsd.sh index 199742a..d2b8163 100644 --- a/src/platform/freebsd.sh +++ b/src/platform/freebsd.sh @@ -4,14 +4,14 @@ tmpdir() { local ramdisk="/var/tmp/password-store.ramdisk" if [[ -d $ramdisk && -d $ramdisk && -d $ramdisk ]]; then - tmp_dir="$(TMPDIR=$ramdisk mktemp -t "$template" -d)" + SECURE_TMPDIR="$(TMPDIR=$ramdisk mktemp -t "$template" -d)" else yesno "$(echo "A ramdisk does not exist at $ramdisk, which means that it may" echo "be difficult to entirely erase the temporary non-encrypted" echo "password file after editing. Are you sure you would like to" echo -n "continue?")" - tmp_dir="$(mktemp -t "$template" -d)" + SECURE_TMPDIR="$(mktemp -t "$template" -d)" fi } -- cgit v1.2.3-54-g00ecf