OSSP CVS Repository

ossp - Difference in ossp-pkg/shtool/sh.version versions 1.39 and 1.40
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

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}"

CVSTrac 2.0.1