OSSP CVS Repository

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

ossp-pkg/shtool/sh.subst 1.7 -> 1.8

--- sh.subst     2003/02/11 13:00:50     1.7
+++ sh.subst     2003/05/16 08:46:26     1.8
@@ -124,10 +124,12 @@
         fi
         if [ ".$opt_t" = .yes ]; then
             echo "\$ cp -p $file $file$orig"
+            echo "\$ chmod u+w $file"
             echo "\$ $sedcmd <$file$orig >$file"
         fi
         if [ ".$opt_n" = .no ]; then
             cp -p $file $file$orig
+            chmod u+w $file >/dev/null 2>&1 || true
             eval "$sedcmd <$file$orig >$file"
         fi
 

CVSTrac 2.0.1