OSSP CVS Repository

ossp - Check-in [5373]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 5373
Date: 2006-Feb-07 09:31:44 (local)
2006-Feb-07 08:31:44 (UTC)
User:rse
Branch:
Comment: Fix "shtool version" command which got broken after recent util_{lower,upper} usage.
Tickets:
Inspections:
Files:
ossp-pkg/shtool/ChangeLog      1.223 -> 1.224     6 inserted, 0 deleted
ossp-pkg/shtool/sh.version      1.41 -> 1.42     2 inserted, 2 deleted

ossp-pkg/shtool/ChangeLog 1.223 -> 1.224

--- ChangeLog    2006/02/04 09:59:16     1.223
+++ ChangeLog    2006/02/07 08:31:44     1.224
@@ -9,6 +9,12 @@
 
  ChangeLog
 
+ Changes between 2.0.4 and 2.0.5 (04-Feb-2006 to 07-Feb-2006):
+
+   *) Fix "shtool version" command which got broken after
+      recent util_{lower,upper} usage.
+      [Ralf S. Engelschall]
+
  Changes between 2.0.3 and 2.0.4 (02-Oct-2005 to 04-Feb-2006):
 
    *) Remove obsolete LANG/LC_TIME/LC_ALL adjustments in sh.mdate.


ossp-pkg/shtool/sh.version 1.41 -> 1.42

--- sh.version   2006/02/04 09:43:25     1.41
+++ sh.version   2006/02/07 08:31:44     1.42
@@ -191,10 +191,10 @@
 
     #   determine string out of filename
     #   (do NOT try to optimize this in any way because of portability)
-    filestr=`echo $file | util_upper | tr './%+' '____' | sed -e 's/-/_/g'`
+    filestr=`util_upper "$file" | tr './%+' '____' | sed -e 's/-/_/g'`
 
     #   generate uppercase prefix
-    prefixupper=`echo $prefix | util_upper`
+    prefixupper=`util_upper "$prefix"`
 
     #   create the version file according the the selected language
     echo "new version: ${vLong}"

CVSTrac 2.0.1