From 98e75760247c424bc7e62b4348618a274c5c2225 Mon Sep 17 00:00:00 2001 From: Titus von Boxberg Date: Mon, 17 May 2010 12:27:32 +0200 Subject: [PATCH] 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/wrapper.in b/scripts/wrapper.in index 1c501ebf..b4dfc97a 100644 --- a/scripts/wrapper.in +++ b/scripts/wrapper.in @@ -1,5 +1,10 @@ #!/bin/sh +# this wrapper will not work under BSD systems or others +# not containig the GNU readlink. +# Under those, wrapper.c will forcibly be used +# regardless of the config file setting. + canonicalizedname=$(readlink -nm "${0}") dirname="$(dirname "${canonicalizedname}")" basename="$(basename "${canonicalizedname}")"