[PC-BSD Commits] r7945 - pcbsd/current/system-overlay/usr/share/skel
svn at pcbsd.org
svn at pcbsd.org
Fri Oct 29 10:04:59 PDT 2010
Author: kris
Date: 2010-10-29 10:04:58 -0700 (Fri, 29 Oct 2010)
New Revision: 7945
Modified:
pcbsd/current/system-overlay/usr/share/skel/.xprofile
Log:
Improve our startup function, don't need to change dir to get file listing
Modified: pcbsd/current/system-overlay/usr/share/skel/.xprofile
===================================================================
--- pcbsd/current/system-overlay/usr/share/skel/.xprofile 2010-10-29 17:01:17 UTC (rev 7944)
+++ pcbsd/current/system-overlay/usr/share/skel/.xprofile 2010-10-29 17:04:58 UTC (rev 7945)
@@ -8,9 +8,7 @@
export XDG_CONFIG_DIRS
# Check for any specific PC-BSD apps we need to start at login
-cd /usr/local/share/pcbsd/xstartup
-for i in `ls *`
+for i in `ls /usr/local/share/pcbsd/xstartup/*`
do
- if [ -x "${i}" ] ; then ./${i} ; fi
+ if [ -x "${i}" ] ; then ${i} ; fi
done
-cd ~
More information about the Commits
mailing list