aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-12-12 21:41:09 +0100
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-12-12 21:41:09 +0100
commit5462df3c4e6c210e51991175b340ac3ffa4b5287 (patch)
tree905733e26c43a6a862e133598cf0b10dff0fa335 /sandbox
parenta6a8649ab0aa6955a0e7fa747897d639ec5e675d (diff)
implement separate sandbox for testing, give test make targets better names
Diffstat (limited to 'sandbox')
-rwxr-xr-xsandbox/env.sh12
1 files changed, 12 insertions, 0 deletions
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