From a759d964e40d160d901052ec90e53c5acbe60355 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 24 Apr 2014 03:21:44 +0200 Subject: Turns out aliases were a bad idea. --- src/platform/darwin.sh | 4 ++-- src/platform/freebsd.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/platform') 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 . 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" -- cgit v1.2.3