OSSP CVS Repository

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

Check-in Number: 2708
Date: 2002-Nov-02 13:14:10 (local)
2002-Nov-02 12:14:10 (UTC)
User:rse
Branch:
Comment: Fixed 'shtool scpp -f ...'. The arguments to option -f were not evaluated correctly.
Tickets:
Inspections:
Files:
ossp-pkg/shtool/ChangeLog      1.172 -> 1.173     4 inserted, 0 deleted
ossp-pkg/shtool/sh.scpp      1.21 -> 1.22     3 inserted, 3 deleted

ossp-pkg/shtool/ChangeLog 1.172 -> 1.173

--- ChangeLog    2002/10/30 16:21:51     1.172
+++ ChangeLog    2002/11/02 12:14:10     1.173
@@ -11,6 +11,10 @@
 
  Changes between 1.6.1 and 1.6.2 (12-Jul-2002 to xx-Oct-2002):
 
+   *) Fixed 'shtool scpp -f ...'. The arguments to option -f 
+      were not evaluated correctly.
+      [Ralf S. Engelschall]
+
    *) Support bold font on 'cygwin' terminals.
       [Marcus Boerger <marcus.boerger@t-online.de>]
 


ossp-pkg/shtool/sh.scpp 1.21 -> 1.22

--- sh.scpp      2001/12/31 15:06:04     1.21
+++ sh.scpp      2002/11/02 12:14:10     1.22
@@ -76,11 +76,11 @@
         do
             inputcmd="$inputcmd -e '$e'"
         done
-        inputcmd="$inputcmd $src"
+        inputcmd="$inputcmd '$src'"
     else
-        inputcmd="cat $src"
+        inputcmd="cat '$src'"
     fi
-    $inputcmd |\
+    eval $inputcmd |\
     $awk '
        BEGIN {
            ln    = 0;

CVSTrac 2.0.1