From 450ecddfea9be3531dd961431e9fe3d9cb159092 Mon Sep 17 00:00:00 2001 From: Carlos Fenollosa Date: Fri, 12 Sep 2014 17:00:01 +0200 Subject: [PATCH] changed hardcoded /bin/ paths --- bb.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bb.sh b/bb.sh index 0670c46..b0072b4 100755 --- a/bb.sh +++ b/bb.sh @@ -997,10 +997,10 @@ date_version_detect() { stat -f "%Sm" -t "$format" "$2" elif [[ $(echo $@ | grep '\-\-date') ]]; then # convert between dates using BSD date syntax - /bin/date -j -f "%a, %d %b %Y %H:%M:%S %z" "$(echo $2 | sed 's/\-\-date\=//g')" "$1" + command date -j -f "%a, %d %b %Y %H:%M:%S %z" "$(echo $2 | sed 's/\-\-date\=//g')" "$1" else # acceptable format for BSD date - /bin/date -j "$@" + command date -j "$@" fi } fi