diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-12-28 10:41:06 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-12-28 10:42:32 -0700 |
commit | 508b52bbf5d2db49b42bda1528097f19f5b9a883 (patch) | |
tree | f6d652e4b02c489b8533d92125771b7ba6c55d3c | |
parent | 411295c2b66275e797ec4f723419d3f258ab328d (diff) |
use absolute paths in env.sh
(otherwise using $HOME breaks event manager plugins when the EM daemonises)
-rwxr-xr-x | misc/env.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/env.sh b/misc/env.sh index 0dfedfa..68377f2 100755 --- a/misc/env.sh +++ b/misc/env.sh @@ -10,7 +10,7 @@ # Maybe we should spawn processes from here with an 'exec' at the end? # Re-define our home location inside the sandbox dir. -export HOME=./sandbox/home +export HOME=$(pwd)/sandbox/home # Export default XDG_{DATA,CACHE,..}_HOME locations inside the sandbox # directory according to defaults in the xdg specification. @@ -20,4 +20,4 @@ export XDG_CACHE_HOME=$HOME/.cache export XDG_CONFIG_HOME=$HOME/.config # Needed to run uzbl-browser etc from here. -export PATH="./sandbox/usr/local/bin:$PATH" +export PATH="$(pwd)/sandbox/usr/local/bin:$PATH" |