summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2015-09-04 14:30:42 +1200
committerOlly Betts <olly@survex.com>2015-09-04 14:30:42 +1200
commitc270367ea01c402e11c5c13fcf41220a0652768f (patch)
tree9a207ca41beb16f32adb91bc16430bca88d4e001
parente903854deda2aaf002c543d16e58e7555018ee3c (diff)
downloadswig-c270367ea01c402e11c5c13fcf41220a0652768f.tar.gz
Add missing shell quoting
-rwxr-xr-xpreinst-swig.in4
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" "$@"