From 5462df3c4e6c210e51991175b340ac3ffa4b5287 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Sat, 12 Dec 2009 21:41:09 +0100 Subject: implement separate sandbox for testing, give test make targets better names --- sandbox/env.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 sandbox/env.sh (limited to 'sandbox') diff --git a/sandbox/env.sh b/sandbox/env.sh new file mode 100755 index 0000000..0806055 --- /dev/null +++ b/sandbox/env.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# it would be better to use something more flexible like $(dirname $0) but i +# couldn't get to work nicely from the Makefile: +# - sourcing file gives $0 == /bin/sh +# - 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 -- cgit v1.2.3