mirror of
https://github.com/lcpz/awesome-copycats.git
synced 2024-12-23 03:32:30 +00:00
FIX: using 'env' command to obtain other command's locations on current environment.
This commit is contained in:
parent
c99b9bb673
commit
f290292073
|
@ -42,14 +42,14 @@ PATTERN="/"
|
||||||
|
|
||||||
case "$SYSTEM" in
|
case "$SYSTEM" in
|
||||||
"Linux" )
|
"Linux" )
|
||||||
DF_COMMAND="/bin/df -k"
|
DF_COMMAND="/usr/bin/env df -k"
|
||||||
SORT_COMMAND="/usr/bin/sort -k6"
|
SORT_COMMAND="/usr/bin/env sort -k6"
|
||||||
AWK_COMMAND="/bin/awk"
|
AWK_COMMAND="/usr/bin/env awk"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
DF_COMMAND="/bin/df -k"
|
DF_COMMAND="/bin/df -k"
|
||||||
SORT_COMMAND="/usr/bin/sort -k6"
|
SORT_COMMAND="/usr/bin/sort -k6"
|
||||||
AWK_COMMAND="/opt/local/bin/gawk"
|
AWK_COMMAND="/usr/bin/env gawk"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue