Ticket #21877: bash_completion-readlink.patch
File bash_completion-readlink.patch, 428 bytes (added by adfernandes (Andrew Fernandes), 15 years ago) |
---|
-
bash_completion
old new 551 551 type -P "$1" > /dev/null && { 552 552 if type -p realpath > /dev/null; then 553 553 realpath "$(type -P "$1")" 554 elif type -p readlink > /dev/null; then555 readlink -f "$(type -P "$1")"554 elif type -p greadlink > /dev/null; then 555 greadlink -f "$(type -P "$1")" 556 556 else 557 557 type -P "$1" 558 558 fi