The following commit has been merged in the ubuntu-master branch:
commit d11632f3d3ce5a05875fd666c2d451172264ff8e
Author: Frank Lichtenheld <[EMAIL PROTECTED]>
Date: Fri Feb 15 02:01:26 2008 +0100
index_pages: Optimise find call by using -maxdepth
This avoids having to search all of changelogs/
diff --git a/cron.d/900index_pages b/cron.d/900index_pages
index dddbdcd..e22586d 100755
--- a/cron.d/900index_pages
+++ b/cron.d/900index_pages
@@ -12,21 +12,6 @@ date
./bin/create_index_pages
date
-# for file in $(find www/ -name *.slices)
-# do
-# dir=$(dirname $file)
-# base=$(basename $file .slices)
-# target=
-# for l in $polangs
-# do
-# lu=$(echo $l|tr /a-z/ /A-Z/)
-# target="$target -o ${lu}uUNDEF:$dir/$base.$l.html.tmp"
-# done
-
-# echo slice $target $file
-# slice $target $file
-# done
-
-./bin/trivial_slice en $polangs -- $(find "$htmldir" -name "*.slices")
+./bin/trivial_slice en $polangs -- $(find "$htmldir" -maxdepth 4 -name
"*.slices")
date
--
APT Archive Web-Frontend (Alioth repository)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]