]> git.deb.at Git - deb/packages.git/commitdiff
900index_pages: Make call to trivial_slice more robust
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 9 Feb 2008 00:28:22 +0000 (01:28 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 9 Feb 2008 00:28:22 +0000 (01:28 +0100)
Avoid shell globbing and use absolute paths.

cron.d/900index_pages

index 6268c12b89a644b09a48265cbecbf3061953a1b6..dddbdcddc27a07b04ded82336c165872950eb79a 100755 (executable)
@@ -27,6 +27,6 @@ date
 #     slice $target $file
 # done 
 
-./bin/trivial_slice en $polangs -- $(find www/ -name *.slices)
+./bin/trivial_slice en $polangs -- $(find "$htmldir" -name "*.slices")
 
 date