[csw-devel] SF.net SVN: gar:[5772] csw/mgar/pkg/sendmail/trunk/files/cswsendmail

bensons at users.sourceforge.net bensons at users.sourceforge.net
Fri Jul 31 15:28:11 CEST 2009


Revision: 5772
          http://gar.svn.sourceforge.net/gar/?rev=5772&view=rev
Author:   bensons
Date:     2009-07-31 13:28:11 +0000 (Fri, 31 Jul 2009)

Log Message:
-----------
sendmail: add -p option to mkdir

Modified Paths:
--------------
    csw/mgar/pkg/sendmail/trunk/files/cswsendmail

Modified: csw/mgar/pkg/sendmail/trunk/files/cswsendmail
===================================================================
--- csw/mgar/pkg/sendmail/trunk/files/cswsendmail	2009-07-31 12:45:24 UTC (rev 5771)
+++ csw/mgar/pkg/sendmail/trunk/files/cswsendmail	2009-07-31 13:28:11 UTC (rev 5772)
@@ -36,7 +36,7 @@
 'start')
 	if [ -f $CSW_DIR/lib/sendmail -a -f $CSW_DIR/etc/mail/sendmail.cf ]; then
 		if [ ! -d $CSW_DIR/var/spool/mqueue ]; then
-			/usr/bin/mkdir -m 0750 $CSW_DIR/var/spool/mqueue
+			/usr/bin/mkdir -pm 0750 $CSW_DIR/var/spool/mqueue
 			/usr/bin/chown root:bin $CSW_DIR/var/spool/mqueue
 		fi
 		if [ ! -f $ALIASES_FILE.db ] && [ ! -f $ALIASES_FILE.dir ] \


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list