summaryrefslogtreecommitdiff
path: root/libtool-wrap
blob: adee2f9cb2102be65fae4832f87250d1802f9397 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

export PATH=${PATH}:/usr/bin

doit=
for x in glibtool libtool ; do
	if type -p ${x} > /dev/null ; then
		doit=${x}
		break
	fi
done

if [ -z "${doit}" ] ; then
	echo "Unable to locate libtool :("
	exit 1
fi

exec ${doit} "$@"