diff options
Diffstat (limited to 'src/sandbox.sh.in')
-rw-r--r-- | src/sandbox.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sandbox.sh.in b/src/sandbox.sh.in index 0f0ffbb..9324d20 100644 --- a/src/sandbox.sh.in +++ b/src/sandbox.sh.in @@ -1,7 +1,10 @@ #!/bin/sh # quick wrapper to run local sandbox with local libsandbox dir=${0%/*} -export LD_LIBRARY_PATH=@abs_top_builddir@/libsandbox/.libs +export abs_top_srcdir="@abs_top_srcdir@" +export abs_top_builddir="@abs_top_builddir@" +export LD_LIBRARY_PATH="${abs_top_builddir}/libsandbox/.libs" +export __SANDBOX_TESTING=yes if [ -x "${dir}"/sandbox ] ; then exec "${dir}"/sandbox "$@" else |