Check-in Number:
|
5278 | |
Date: |
2005-Oct-12 14:31:28 (local)
2005-Oct-12 12:31:28 (UTC) |
User: | rse |
Branch: | |
Comment: |
Use internal util_{lower,upper} functions in "shtool version". |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/shtool/ChangeLog 1.218 -> 1.219
--- 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'
|
|
ossp-pkg/shtool/sh.version 1.39 -> 1.40
--- 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}"
|
|