diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 18:16:53 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-04-23 18:16:53 +0200 |
commit | 685d094023e2edbd130a7c86d46e7fd79a62e8af (patch) | |
tree | a22de1cb3f2e1238d97e8d7292b6ad80ca29ef0f /src/platform/darwin.sh | |
parent | 59272fc6af05dfc603c9230dbded251344e2380c (diff) | |
download | pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.gz pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.tar.bz2 pass-685d094023e2edbd130a7c86d46e7fd79a62e8af.zip |
Use aliases instead of variables for command portability.
Diffstat (limited to 'src/platform/darwin.sh')
-rw-r--r-- | src/platform/darwin.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 1b76c33..161b687 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 } -GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt" -SHRED="srm -f -z" +alias getopt="command $(brew --prefix gnu-getopt 2>/dev/null || echo /usr/local)/bin/getopt" +alias shred="command srm -f -z" |