Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
30 lignes
599 B
30 lignes
599 B
#!/bin/bash
|
|
|
|
#
|
|
# This script is part of the KGtk package.
|
|
#
|
|
# (C) Craig Drummond, 2007
|
|
#
|
|
# Craig.Drummond@lycos.co.uk
|
|
#
|
|
# --
|
|
# Released under the GPL v2 or later
|
|
# --
|
|
#
|
|
|
|
app=`basename $0`
|
|
|
|
if [ "$app" = "kqt3-wrapper" ] ; then
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib/kgtk/libkqt3.so:$LD_PRELOAD "$@"
|
|
else
|
|
dir=`dirname $0`
|
|
oldPath=$PATH
|
|
PATH=`echo $PATH | sed s:$dir::g`
|
|
real=`which $app`
|
|
PATH=$oldPath
|
|
|
|
if [ "$real" != "" ] && [ "`dirname $real`" != "$dir" ] ; then
|
|
LD_PRELOAD=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@/kgtk/libkqt3.so:$LD_PRELOAD $real "$@"
|
|
fi
|
|
fi
|