From: Frank Lichtenheld Date: Sun, 17 Jan 2010 14:08:36 +0000 (+0000) Subject: create_mirror: Ensure that format of trace file doesn't depend on locale X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=28e5e3b92d691be9330be9327a39286293f24647;p=deb%2Fpackages.git create_mirror: Ensure that format of trace file doesn't depend on locale --- diff --git a/bin/create_mirror b/bin/create_mirror index a6d8220..6ce4860 100755 --- a/bin/create_mirror +++ b/bin/create_mirror @@ -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 \