From 508b52bbf5d2db49b42bda1528097f19f5b9a883 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Tue, 28 Dec 2010 10:41:06 -0700 Subject: use absolute paths in env.sh (otherwise using $HOME breaks event manager plugins when the EM daemonises) --- misc/env.sh | 4 ++-- 1 file 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" -- cgit v1.2.3