password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 7d37a62180c8cbd3a99236f9d6e2cb2dd33a853a
parent d28575ddcaa6ef2420507416d64dff01e402a5c5
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Tue, 23 Dec 2014 19:55:43 -0700

darwin: Fix up order of operations.

Diffstat:
Msrc/platform/darwin.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh @@ -31,5 +31,5 @@ tmpdir() { mount -t hfs -o noatime -o nobrowse "$DARWIN_RAMDISK_DEV" "$SECURE_TMPDIR" || die "Error: could not mount filesystem on ramdisk." } -GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || which port 2>/dev/null && echo /opt/local || echo /usr/local)/bin/getopt" +GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" SHRED="srm -f -z"