diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-15 15:59:55 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-15 15:59:55 +0200 |
commit | c0df57a3543e79cb9b5effe62054d5415f70e837 (patch) | |
tree | f430a90fe3c19c35091330e134b356ea8a509c86 /src/platform/freebsd.sh | |
parent | 9814164829ce169fef152ee43d89ca48d0b8adb8 (diff) | |
download | pass-c0df57a3543e79cb9b5effe62054d5415f70e837.tar.gz pass-c0df57a3543e79cb9b5effe62054d5415f70e837.tar.bz2 pass-c0df57a3543e79cb9b5effe62054d5415f70e837.zip |
All globals are upper-case.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | src/platform/freebsd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |