aboutsummaryrefslogtreecommitdiffhomepage
path: root/sandbox/env.sh
blob: 0bf812a2f004c4ca6ee9a32882fe0c702c7c074d (plain)
1
2
3
4
5
6
7
8
9
10
11
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?

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? don't think so..
export PATH="./sandbox/usr/local/bin:$PATH" # needed to run uzbl-browser etc from here