projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0ddc3
)
Use test -r instead of test -e for solaris. Fixes bug #4253.
author
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 15:23:00 +0000
(10:23 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 9 Dec 2009 15:23:37 +0000
(10:23 -0500)
data/xsession/openbox-session.in
patch
|
blob
|
history
diff --git
a/data/xsession/openbox-session.in
b/data/xsession/openbox-session.in
index
259dc58
..
7c3daa7
100644
(file)
--- 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