From: Dana Jansens Date: Wed, 9 Dec 2009 15:23:00 +0000 (-0500) Subject: Use test -r instead of test -e for solaris. Fixes bug #4253. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5290af9f50c8492398e9f1c61be8f659106bc591;p=chaz%2Fopenbox Use test -r instead of test -e for solaris. Fixes bug #4253. --- diff --git a/data/xsession/openbox-session.in b/data/xsession/openbox-session.in index 259dc580..7c3daa73 100644 --- a/data/xsession/openbox-session.in +++ b/data/xsession/openbox-session.in @@ -10,10 +10,10 @@ fi AUTOSTART="${XDG_CONFIG_HOME:-"$HOME/.config"}/openbox/autostart.sh" GLOBALAUTOSTART="@configdir@/openbox/autostart.sh" -if test -e $AUTOSTART; then +if test -r $AUTOSTART; then . $AUTOSTART else - if test -e $GLOBALAUTOSTART; then + if test -r $GLOBALAUTOSTART; then . $GLOBALAUTOSTART fi fi