Re: [ptxdist] [PATCH 2/2] ptxdist: Check for GNU readlink

2012-03-13 Thread Michael Olbrich
On Mon, Mar 12, 2012 at 08:56:33PM +0100, Bernhard Walle wrote: ptxdist heavily uses readlink -f which only works with GNU readlink. So add the usual check here. However, because readlink -f is also used before the symlinks in the ptxdist directory is added to the PATH, that readlink -f call

[ptxdist] [PATCH 2/2] ptxdist: Check for GNU readlink

2012-03-12 Thread Bernhard Walle
ptxdist heavily uses readlink -f which only works with GNU readlink. So add the usual check here. However, because readlink -f is also used before the symlinks in the ptxdist directory is added to the PATH, that readlink -f call is replaced by a bash-only implementation. This one is inspired from