Ticket #21877: bash_completion-readlink.patch

File bash_completion-readlink.patch, 428 bytes (added by adfernandes (Andrew Fernandes), 15 years ago)

use 'greadlink' rather than 'readlink'

  • bash_completion

    old new  
    551551        type -P "$1" > /dev/null && {
    552552                if type -p realpath > /dev/null; then
    553553                        realpath "$(type -P "$1")"
    554                 elif type -p readlink > /dev/null; then
    555                         readlink -f "$(type -P "$1")"
     554                elif type -p greadlink > /dev/null; then
     555                        greadlink -f "$(type -P "$1")"
    556556                else
    557557                        type -P "$1"
    558558                fi