diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-09-12 17:00:01 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2014-09-12 17:00:01 +0200 |
commit | 450ecddfea9be3531dd961431e9fe3d9cb159092 (patch) | |
tree | 74698a3d13d66f0548931b46ed064e251177f1bd | |
parent | 59c431b97419bc0f8cdf14edd2b6a672ccf57454 (diff) |
changed hardcoded /bin/ paths
-rwxr-xr-x | bb.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |