Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.217' '-r1.218' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2005/10/02 14:18:34 1.217 +++ ChangeLog 2005/10/02 14:23:12 1.218 @@ -11,6 +11,10 @@ Changes between 2.0.2 and 2.0.3 (15-Jun-2005 to 02-Oct-2005): + *) "shtool mdate" needs to (un|re)set TIME_STYLE, as GNU coreutils' + "ls" changes its time format in response to the TIME_STYLE variable. + [James Rowe ] + *) Use "env -i sort" for Linux detections in "shtool platform" to circumvent LC_COLLATE and LANG environment problems. [Ralf S. Engelschall] Index: ossp-pkg/shtool/THANKS RCS File: /v/ossp/cvs/ossp-pkg/shtool/THANKS,v rcsdiff -q -kk '-r1.34' '-r1.35' -u '/v/ossp/cvs/ossp-pkg/shtool/THANKS,v' 2>/dev/null --- THANKS 2005/05/13 18:52:40 1.34 +++ THANKS 2005/10/02 14:23:12 1.35 @@ -31,7 +31,7 @@ o Liones o Thomas Lotterer o Markus F.X.J. Oberhumer - o James Rowe + o James Rowe o Benjamin Saller o Michael Schloh o Christoph Schug Index: ossp-pkg/shtool/sh.mdate RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.mdate,v rcsdiff -q -kk '-r1.15' '-r1.16' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.mdate,v' 2>/dev/null --- sh.mdate 2005/06/15 08:14:35 1.15 +++ sh.mdate 2005/10/02 14:23:12 1.16 @@ -51,6 +51,14 @@ LC_ALL=C; export LC_ALL LC_TIME=C; export LC_TIME +# GNU ls changes its time format in response to the TIME_STYLE +# variable. Since we cannot assume "unset" works, revert this +# variable to its documented default. +if [ ".$TIME_STYLE" != . ]; then + TIME_STYLE=posix-long-iso + export TIME_STYLE +fi + # get the extended ls output of the file or directory. if /bin/ls -L /dev/null >/dev/null 2>&1; then set - x`/bin/ls -L -l -d $fod`