diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 03:21:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-24 03:21:44 +0200 |
commit | a759d964e40d160d901052ec90e53c5acbe60355 (patch) | |
tree | 7b84764c40b49d662412ed7e9f3e3cd62544eee1 /src/platform | |
parent | 31119bfcd019bf6820450664f2dbbe70340d20d8 (diff) | |
download | pass-a759d964e40d160d901052ec90e53c5acbe60355.tar.gz pass-a759d964e40d160d901052ec90e53c5acbe60355.tar.bz2 pass-a759d964e40d160d901052ec90e53c5acbe60355.zip |
Turns out aliases were a bad idea.
Diffstat (limited to 'src/platform')
-rw-r--r-- | src/platform/darwin.sh | 4 | ||||
-rw-r--r-- | src/platform/freebsd.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 161b687..1b76c33 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -31,5 +31,5 @@ tmpdir() { mount -t hfs -o noatime -o nobrowse "$ramdisk_dev" "$SECURE_TMPDIR" || exit 1 } -alias getopt="command $(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt" -alias shred="command srm -f -z" +GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt" +SHRED="srm -f -z" diff --git a/src/platform/freebsd.sh b/src/platform/freebsd.sh index da062fb..d93c774 100644 --- a/src/platform/freebsd.sh +++ b/src/platform/freebsd.sh @@ -1,5 +1,5 @@ # Copyright (C) 2012 Jonathan Chu <milki@rescomp.berkeley.edu>. All Rights Reserved. # This file is licensed under the GPLv2+. Please see COPYING for more information. -alias getopt="command /usr/local/bin/getopt" -alias shred="command rm -P -f" +GETOPT="/usr/local/bin/getopt" +SHRED="rm -P -f" |