diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2013-04-04 14:58:30 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-05-31 07:54:10 -0700 |
commit | 79fd43329e15432bab4f9f8856af385ac2ac0417 (patch) | |
tree | ea7f59c0b66f1e9955b1424640296fdb54130e32 /xinitrc.cpp | |
parent | ef3d1d64958c51d7716445574bb7e5653aab714d (diff) |
Use xinitrc.d/?*.sh as the matching pattern instead of needing a fragile sed substitution XSLASHGLOB to produce xinitrc.d/*.sh. (If that were used literally the slash-star would confuse cpp.)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xinitrc.cpp')
-rw-r--r-- | xinitrc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xinitrc.cpp b/xinitrc.cpp index 049a8e4..81c238b 100644 --- a/xinitrc.cpp +++ b/xinitrc.cpp @@ -85,7 +85,7 @@ XCOMM This is the fallback case if nothing else is executed above #endif /* !defined(__SCO__) && !defined(__UNIXWARE__) */ if [ -d XINITDIR/xinitrc.d ] ; then - for f in XINITDIR/xinitrc.dXSLASHGLOB.sh ; do + for f in XINITDIR/xinitrc.d/?*.sh ; do [ -x "$f" ] && . "$f" done unset f |