aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-28 21:17:54 -0500
committerMike Frysinger <vapier@gentoo.org>2008-11-28 21:17:54 -0500
commitc0c8553c4ce239da62e44e4807303d5d171866f4 (patch)
treea5b8ecee4b7d94ad9478374ceae57bafe1260b0e /src
parentlibsandbox: tweak style a bit -- no functional changes (diff)
downloadsandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.tar.gz
sandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.tar.bz2
sandbox-c0c8553c4ce239da62e44e4807303d5d171866f4.zip
src/sandbox.sh: produce it from configure
Rather than mucking with paths dynamically, just get the absolute top builddir from configure. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'src')
-rw-r--r--[-rwxr-xr-x]src/sandbox.sh.in (renamed from src/sandbox.sh)2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sandbox.sh b/src/sandbox.sh.in
index 48d37aa..0f0ffbb 100755..100644
--- a/src/sandbox.sh
+++ b/src/sandbox.sh.in
@@ -1,7 +1,7 @@
#!/bin/sh
# quick wrapper to run local sandbox with local libsandbox
dir=${0%/*}
-export LD_LIBRARY_PATH=${dir}/../libsandbox/.libs:${abs_top_builddir}/libsandbox/.libs
+export LD_LIBRARY_PATH=@abs_top_builddir@/libsandbox/.libs
if [ -x "${dir}"/sandbox ] ; then
exec "${dir}"/sandbox "$@"
else