|
|
@ -19,7 +19,7 @@ fi
|
|
|
|
app=`basename $0`
|
|
|
|
app=`basename $0`
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$app" = "kgtk2-wrapper" ] ; then
|
|
|
|
if [ "$app" = "kgtk2-wrapper" ] ; then
|
|
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:$LD_PRELOAD "$@"
|
|
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD "$@"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
dir=`dirname $0`
|
|
|
|
dir=`dirname $0`
|
|
|
|
oldPath=$PATH
|
|
|
|
oldPath=$PATH
|
|
|
@ -28,6 +28,6 @@ else
|
|
|
|
PATH=$oldPath
|
|
|
|
PATH=$oldPath
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$real" != "" ] && [ "`dirname $real`" != "$dir" ] ; then
|
|
|
|
if [ "$real" != "" ] && [ "`dirname $real`" != "$dir" ] ; then
|
|
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:$LD_PRELOAD $real "$@"
|
|
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkgtk2.so:libnspr4.so:$LD_PRELOAD $real "$@"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|