diff -r 40fe96dff39e -r 0ca0f85a4b2a scripts/wrapper.in --- a/scripts/wrapper.in Wed Apr 06 21:34:22 2011 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#!/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}")" - -ld_lib_path="$(dirname "${dirname}")/lib" - -case ":${LD_LIBRARY_PATH}:" in - *":${ld_lib_path}:"*) ;; - *) LD_LIBRARY_PATH="${ld_lib_path}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}";; -esac - -export LD_LIBRARY_PATH -exec "${dirname}/.${basename}" "$@"