Index: ossp-pkg/shtool/ChangeLog RCS File: /v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v rcsdiff -q -kk '-r1.218' '-r1.219' -u '/v/ossp/cvs/ossp-pkg/shtool/ChangeLog,v' 2>/dev/null --- ChangeLog 2005/10/02 14:23:12 1.218 +++ ChangeLog 2005/10/12 12:31:28 1.219 @@ -9,6 +9,11 @@ ChangeLog + Changes between 2.0.3 and 2.0.4 (02-Oct-2005 to xx-xxx-2005): + + *) Use internal util_{lower,upper} functions in "shtool version". + [Ralf S. Engelschall] + 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' Index: ossp-pkg/shtool/sh.version RCS File: /v/ossp/cvs/ossp-pkg/shtool/sh.version,v rcsdiff -q -kk '-r1.39' '-r1.40' -u '/v/ossp/cvs/ossp-pkg/shtool/sh.version,v' 2>/dev/null --- sh.version 2005/08/31 07:24:56 1.39 +++ sh.version 2005/10/12 12:31:28 1.40 @@ -191,13 +191,10 @@ # determine string out of filename # (do NOT try to optimize this in any way because of portability) - filestr=`echo $file |\ - tr 'abcdefghijklmnopqrstuvwxyz./%+' \ - 'ABCDEFGHIJKLMNOPQRSTUVWXYZ____' | sed -e 's/-/_/g'` + filestr=`echo $file | util_upper | tr './%+' '____' | sed -e 's/-/_/g'` # generate uppercase prefix - prefixupper=`echo $prefix |\ - tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` + prefixupper=`echo $prefix | util_upper` # create the version file according the the selected language echo "new version: ${vLong}"