summaryrefslogtreecommitdiff
path: root/preinst-swig.in
blob: 4cead1d88dce49822037d6d1029d1e1ff8f0bf0f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

# Convenience script for running SWIG before it is installed.
# Intended for ad-hoc usage and not by the test-suite or examples.

builddir=`dirname $0`
SWIG_LIB=@SWIG_LIB_PREINST@
export SWIG_LIB
exec "$builddir/swig" "$@"