OSSP CVS Repository

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

ossp-pkg/shtool/sh.mkdir 1.14 -> 1.15

--- sh.mkdir     2001/01/17 09:55:11     1.14
+++ sh.mkdir     2001/04/19 07:33:55     1.15
@@ -49,6 +49,12 @@
             echo "mkdir $p" 1>&2
         fi
         mkdir $p || errstatus=$?
+        if [ ".$opt_m" != . ]; then
+            if [ ".$opt_t" = .yes ]; then
+                echo "chmod $opt_m $pathcomp" 1>&2
+            fi
+            chmod $opt_m $pathcomp || errstatus=$?
+        fi
     else
         #   the smart situation
         set fnord `echo ":$p" |\

CVSTrac 2.0.1