Author: baggins
Date: Sun Jan 29 16:32:47 2012
New Revision: 12470

Modified:
   xinitrc-ng/trunk/xinitdefs
Log:
- safe way to run /etc/X11/xinit/xinitrc.d shell scripts


Modified: xinitrc-ng/trunk/xinitdefs
==============================================================================
--- xinitrc-ng/trunk/xinitdefs  (original)
+++ xinitrc-ng/trunk/xinitdefs  Sun Jan 29 16:32:47 2012
@@ -76,10 +76,8 @@
 unset XKB_IN_USE
 
 # Run all system xinitrc shell scripts.
-for i in /etc/X11/xinit/xinitrc.d/* ; do
-       if [ -x "$i" ]; then
-               . "$i"
-       fi
+for i in /etc/X11/xinit/xinitrc.d/*.sh ; do
+       [ -x "$i" ] && $i
 done
 
 # This must be last line !
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to