Fix software-install.sh to use the GNU version of readlink.

This commit is contained in:
Scott Wallace 2016-02-01 08:53:31 +00:00
parent 91c5e42803
commit 3e073236db

View file

@ -63,7 +63,7 @@ EOF
#------------------------------- #-------------------------------
# Some tools require root set-UID # Some tools require root set-UID
#------------------------------- #-------------------------------
xargs -n1 -I % bash -c 'find $(dirname $(readlink -f $(which %))) -name $(basename $(which %)) -type f ! \( -perm -u+s -a -user root \) ' <<EOF | xargs -n 1 -I % sudo bash -c 'chown root: % && chmod u+s %' xargs -n1 -I % bash -c 'find $(dirname $(greadlink -f $(which %))) -name $(basename $(which %)) -type f ! \( -perm -u+s -a -user root \) ' <<EOF | xargs -n 1 -I % sudo bash -c 'chown root: % && chmod u+s %'
htop htop
EOF EOF
#------------------------------- #-------------------------------