diff --git a/package/swig/swig-wrapper.in b/package/swig/swig-wrapper.in index 61c885fc90..e6cf2df134 100644 --- a/package/swig/swig-wrapper.in +++ b/package/swig/swig-wrapper.in @@ -5,4 +5,4 @@ if [ -z "${SWIG_LIB}" ]; then export SWIG_LIB="${0%/*}/../share/swig/@SWIG_VERSION@" fi -exec "${0}.br_real" "$@" +exec "$(realpath "${0}").br_real" "$@"