rpms/xorg-x11/devel xfs.init,1.17,1.18
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 5 10:57:12 UTC 2005
Update of /cvs/dist/rpms/xorg-x11/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv31936
Modified Files:
xfs.init
Log Message:
Add maxdepth 1 to find args to limit search to that dir and no subdirs
Index: xfs.init
===================================================================
RCS file: /cvs/dist/rpms/xorg-x11/devel/xfs.init,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- xfs.init 5 Apr 2005 05:29:07 -0000 1.17
+++ xfs.init 5 Apr 2005 10:57:10 -0000 1.18
@@ -36,7 +36,7 @@
# If fonts.dir does not exist, or if there are files in the
# directory with a newer change time, regenerate fonts.dir, etc.
# Using "-cnewer" here fixes bug #53737
- if [ ! -e fonts.dir -o -n "$(find . -type f -cnewer fonts.dir -not -name 'fonts.cache*')" ]; then
+ if [ ! -e fonts.dir -o -n "$(find . -type f -maxdepth 1 -cnewer fonts.dir -not -name 'fonts.cache*')" ]; then
rm -f fonts.dir
if ls | grep -iqs '\.ot[cf]$' ; then
# Opentype fonts found, generate fonts.scale and fonts.dir
More information about the fedora-cvs-commits
mailing list