OSSP CVS Repository

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

ossp-pkg/shtool/sh.path 1.15 -> 1.16

--- sh.path      2000/06/30 16:25:34     1.15
+++ sh.path      2000/06/30 16:39:07     1.16
@@ -110,10 +110,8 @@
 #   MAGIC SITUATION
 #   C pre-processor (cpp)
 if [ ".$opt_m" = .yes ] && [ ".$namelist" = .cpp ]; then
-    cat >$tmpfile.c <<'EOT'
-#include <assert.h>
-Syntax Error
-EOT
+    echo >$tmpfile.c "#include <assert.h>"
+    echo >>$tmpfile.c "Syntax Error"
     #   1. try the standard cc -E approach
     cpp="${CC-cc} -E"
     (eval "$cpp $tmpfile.c >/dev/null") 2>$tmpfile.out

CVSTrac 2.0.1