scripts/wrapper.in: Add a comment about readlink not being portable.
authorTitus von Boxberg <titus@v9g.de>
Mon May 17 12:27:32 2010 +0200 (2010-05-17)
changeset 19608307ceabe5c0
parent 1959 a86d3c6ad7fe
child 1961 e0619b242cb6
scripts/wrapper.in: Add a comment about readlink not being portable.

Documented that the call to readlink will not work on BSD systems.
scripts/wrapper.in
     1.1 --- a/scripts/wrapper.in	Mon May 17 12:23:24 2010 +0200
     1.2 +++ b/scripts/wrapper.in	Mon May 17 12:27:32 2010 +0200
     1.3 @@ -1,5 +1,10 @@
     1.4  #!/bin/sh
     1.5  
     1.6 +# this wrapper will not work under BSD systems or others
     1.7 +# not containig the GNU readlink.
     1.8 +# Under those, wrapper.c will forcibly be used
     1.9 +# regardless of the config file setting.
    1.10 +
    1.11  canonicalizedname=$(readlink -nm "${0}")
    1.12  dirname="$(dirname "${canonicalizedname}")"
    1.13  basename="$(basename "${canonicalizedname}")"