The template itself isn't useful to run, and the generated file "preinst-swig" is explicitly made executable by configure.
9 lines
238 B
Bash
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" "$@"
|