diff options
-rw-r--r-- | Makefile | 5 | ||||
-rwxr-xr-x | sandbox/env.sh | 10 |
2 files changed, 7 insertions, 8 deletions
@@ -62,13 +62,13 @@ test-uzbl-browser: uzbl-browser ./uzbl-browser --uri http://www.uzbl.org --verbose test-uzbl-core-sandbox: uzbl-core - make DESTDIR=./sandbox RUN_PREFIX=`pwd`/sandbox/usr/local install-uzbl-core + make DESTDIR=./sandbox RUN_PREFIX=`pwd`/sandbox/usr/local install source ./sandbox/env.sh && uzbl-core --uri http://www.uzbl.org --verbose make DESTDIR=./sandbox uninstall rm -rf ./sandbox/usr test-uzbl-browser-sandbox: uzbl-browser - make DESTDIR=./sandbox RUN_PREFIX=`pwd`/sandbox/usr/local install-uzbl-browser + make DESTDIR=./sandbox RUN_PREFIX=`pwd`/sandbox/usr/local install source ./sandbox/env.sh && uzbl-cookie-daemon restart -nv & source ./sandbox/env.sh && uzbl-event-manager restart -nav & source ./sandbox/env.sh && uzbl-browser --uri http://www.uzbl.org --verbose @@ -77,7 +77,6 @@ test-uzbl-browser-sandbox: uzbl-browser make DESTDIR=./sandbox uninstall rm -rf ./sandbox/usr - clean: rm -f uzbl-core rm -f uzbl-core.o diff --git a/sandbox/env.sh b/sandbox/env.sh index 0806055..157ef36 100755 --- a/sandbox/env.sh +++ b/sandbox/env.sh @@ -5,8 +5,8 @@ # - executing limits scope of variables too much (even with exporting) # maybe we should spawn processes from here with an 'exec' at the end? -XDG_DATA_HOME=./sandbox/examples/data -XDG_CACHE_HOME=./sandbox/examples/cache -XDG_CONFIG_HOME=./sandbox/examples/config -PATH=".sandbox/usr/local/share/uzbl/examples/data/uzbl/scripts/:$PATH" # needed when running uzbl-browser from here. not sure anymore why -PATH="./sandbox/usr/local/bin:$PATH" # needed to run uzbl-browser etc from here +export XDG_DATA_HOME=./sandbox/examples/data +export XDG_CACHE_HOME=./sandbox/examples/cache +export XDG_CONFIG_HOME=./sandbox/examples/config +export PATH=".sandbox/usr/local/share/uzbl/examples/data/uzbl/scripts/:$PATH" # needed when running uzbl-browser from here. not sure anymore why +export PATH="./sandbox/usr/local/bin:$PATH" # needed to run uzbl-browser etc from here |