swig/preinst-swig.in
Olly Betts dc1fad3f9b Stop preinst-swig.in from being executable
The template itself isn't useful to run, and the generated file
"preinst-swig" is explicitly made executable by configure.
2016-05-22 18:59:00 +12:00

9 lines
238 B
Bash

#!/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" "$@"