/[path-sandbox]/trunk/src/sandbox.sh
Gentoo

Diff of /trunk/src/sandbox.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 435 Revision 436
1#!/bin/sh 1#!/bin/sh
2# quick wrapper to run local sandbox with local libsandbox 2# quick wrapper to run local sandbox with local libsandbox
3dir=${0%/*} 3dir=${0%/*}
4export LD_LIBRARY_PATH=${dir}/../libsandbox/.libs 4export LD_LIBRARY_PATH=${dir}/../libsandbox/.libs:${abs_top_builddir}/libsandbox/.libs
5if [ -x "${dir}"/sandbox ] ; then 5if [ -x "${dir}"/sandbox ] ; then
6 exec "${dir}"/sandbox "$@" 6 exec "${dir}"/sandbox "$@"
7else 7else
8 exec sandbox "$@" 8 exec sandbox "$@"
9fi 9fi

Legend:
Removed from v.435  
changed lines
  Added in v.436

  ViewVC Help
Powered by ViewVC 1.1.20