delete unused file

Change-Id: I15ad0f30859a3133993f0a75ed0d09bb5ef9cdf5
Reviewed-by: Jonas Rabbe <jonas.rabbe@gmail.com>
This commit is contained in:
Oswald Buddenhagen
2012-04-05 14:26:16 +02:00
committed by Qt by Nokia
parent bd5afd94bb
commit 79ba57afb9

View File

@@ -1,40 +0,0 @@
#!/bin/sh
#borrowed from Qt
HOME=/dev/null
export HOME
unset which
WHICH=`which which 2>/dev/null`
if echo $WHICH | grep 'shell built-in command' >/dev/null 2>&1; then
WHICH=which
elif [ -z "$WHICH" ]; then
if which which >/dev/null 2>&1; then
WHICH=which
else
for a in /usr/ucb /usr/bin /bin /usr/local/bin; do
if [ -x $a/which ]; then
WHICH=$a/which
break;
fi
done
fi
fi
if [ -z "$WHICH" ]; then
IFS=:
for a in $PATH; do
if [ -x $a/$1 ]; then
echo "$a/$1"
exit 0
fi
done
else
a=`"$WHICH" "$1" 2>/dev/null`
if [ ! -z "$a" -a -x "$a" ]; then
echo "$a"
exit 0
fi
fi
exit 1