diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-20 10:03:53 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-10-06 09:29:17 +0200 |
commit | 0cefe056603a6535fc91bd3ff40c17763f70c94f (patch) | |
tree | ec70fa97e6c995c0b014def3de969f446387c59e /src | |
parent | 7f96d00e24d8086eeaf169e1b821c3845fc06334 (diff) | |
download | dotfiles-0cefe056603a6535fc91bd3ff40c17763f70c94f.tar.gz dotfiles-0cefe056603a6535fc91bd3ff40c17763f70c94f.tar.bz2 dotfiles-0cefe056603a6535fc91bd3ff40c17763f70c94f.zip |
env.sh: Set XDG_RUNTIME_DIR only not already
Diffstat (limited to 'src')
-rwxr-xr-x | src/env.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -23,5 +23,7 @@ doecho export EGL_DRIVER=egl_dri2 doecho export EGL_LOG_LEVEL=debug #doecho export EGL_PLATFORM=wayland -doecho export XDG_RUNTIME_DIR=$home/src +if [ "x$XDG_RUNTIME_DIR" = "x" ]; then + doecho export XDG_RUNTIME_DIR=$home/src +fi doecho export SDL_VIDEODRIVER=wayland |