[MacPorts] #21877: bash-completion needs gnu readlink, not bsd
MacPorts
noreply at macports.org
Tue Oct 6 08:39:39 PDT 2009
#21877: bash-completion needs gnu readlink, not bsd
----------------------------------+-----------------------------------------
Reporter: andrew@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: coreutils readlink | Port: bash-completion
----------------------------------+-----------------------------------------
When playing with bash-completion (great job, BTW!) I noticed an error
when using "vncviewer":
{{{
vncviewer readlink: illegal option -- f
usage: readlink [-n] [file ...]
}}}
It turns out that, big surprise, bash-completion requires the GNU version
of the readlink command, not the BSD. Rather than mess around with command
line options (it is possible to simply remove the unsupported "-f" option
and hope for the best!) I decided to patch in a dependency to "greadlink"
from coreutils.
Works like a charm, now.
--
Ticket URL: <http://trac.macports.org/ticket/21877>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list