[PATCH modular v2] release.sh: Find modular directory through symlinks
alan.coopersmith at oracle.com
Sun Mar 13 11:23:14 PDT 2011
On 03/13/11 11:16 AM, Dan Nicholson wrote:
> On Sun, Mar 13, 2011 at 9:28 AM, Dirk Wallenstein <halsmit at t-online.de> wrote:
>> To find the auxiliary script that updates a moduleset, consider the case
>> where the main script is accessed through a symlink, and resolve that
>> Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
>> v2: Use 'readlink -f' instead of 'realpath'
>> On Sun, Mar 13, 2011 at 08:52:02AM -0700, Dan Nicholson wrote:
>>> Hmm, I don't have realpath on fedora and yum doesn't know of any
>>> realpath packages. Might be safer to use "readlink -f" since readlink
>>> comes from coreutils, which is definitely installed on every linux
>>> host if not every unix host.
>> I don't even know why I have realpath. I just thought for a sec that
>> that is some sort of ingenious command that I was accidentally missing
>> all the time.
> I looked a little more and it appears to just be a wrapper around
> realpath(3) developed on Debian. And it looks like Fedora was the only
> one of the major distros not to have it. Anyway...
Well, as one of the major users of this script, I appreciate readlink over
realpath, since I only have readlink on Solaris as well.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel