]> git.deb.at Git - deb/packages.git/commitdiff
create_mirror: Ensure that format of trace file doesn't depend on locale
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 17 Jan 2010 14:08:36 +0000 (14:08 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 17 Jan 2010 14:08:36 +0000 (14:08 +0000)
bin/create_mirror

index a6d8220f8ed0605d66efe287dc9dd383423eb136..6ce48604b04919403bad427cd104fef359f0380b 100755 (executable)
@@ -50,7 +50,7 @@ do
       --delete-excluded --delete-after \
       "$topdir/$d/" "$new/$d/"
 done
-date -u > "$new/www/Pics/.trace"
+LC_ALL=POSIX LANG=POSIX date -u > "$new/www/Pics/.trace"
 
 ln -sfT $new $mirror/current
 find $mirror -mindepth 1 -maxdepth 1 -not -name "${STAMP}" -type d -print0 \