diff options
author | Olly Betts <olly@survex.com> | 2015-09-04 14:30:42 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2015-09-04 14:30:42 +1200 |
commit | c270367ea01c402e11c5c13fcf41220a0652768f (patch) | |
tree | 9a207ca41beb16f32adb91bc16430bca88d4e001 | |
parent | e903854deda2aaf002c543d16e58e7555018ee3c (diff) | |
download | swig-c270367ea01c402e11c5c13fcf41220a0652768f.tar.gz |
Add missing shell quoting
-rwxr-xr-x | preinst-swig.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/preinst-swig.in b/preinst-swig.in index 4cead1d88..ac00602bb 100755 --- a/preinst-swig.in +++ b/preinst-swig.in @@ -3,7 +3,7 @@ # 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@ +builddir=`dirname "$0"` +SWIG_LIB='@SWIG_LIB_PREINST@' export SWIG_LIB exec "$builddir/swig" "$@" |