Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2014 16:19:53 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r339607 - in branches/2014Q1/irc/inspircd: . files
Message-ID:  <201401131619.s0DGJrd3052723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Mon Jan 13 16:19:53 2014
New Revision: 339607
URL: http://svnweb.freebsd.org/changeset/ports/339607

Log:
  MFH: r339606
  
  Fix creation of directories in rc script
  
  Submitted by:	gizd
  Approved by:	portmgr-lurkers (mat)

Modified:
  branches/2014Q1/irc/inspircd/Makefile
  branches/2014Q1/irc/inspircd/files/inspircd.in
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/irc/inspircd/Makefile
==============================================================================
--- branches/2014Q1/irc/inspircd/Makefile	Mon Jan 13 16:13:33 2014	(r339606)
+++ branches/2014Q1/irc/inspircd/Makefile	Mon Jan 13 16:19:53 2014	(r339607)
@@ -3,6 +3,7 @@
 
 PORTNAME=	inspircd
 PORTVERSION=	2.0.14
+PORTREVISION=	1
 CATEGORIES=	irc
 
 MAINTAINER=	feld@FreeBSD.org

Modified: branches/2014Q1/irc/inspircd/files/inspircd.in
==============================================================================
--- branches/2014Q1/irc/inspircd/files/inspircd.in	Mon Jan 13 16:13:33 2014	(r339606)
+++ branches/2014Q1/irc/inspircd/files/inspircd.in	Mon Jan 13 16:19:53 2014	(r339607)
@@ -47,11 +47,11 @@ inspircd_prestart()
 {
 	piddir=$(dirname ${inspircd_pidfile})
 	if [ ! -d ${piddir} ]; then
-		install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir}
+		install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${piddir}
 	fi
 	logdir=$(dirname ${inspircd_logfile})
 	if [ ! -d ${logdir} ]; then
-		install -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir}
+		install -d -m 755 -o ${inspircd_user} -g ${inspircd_group} ${logdir}
 	fi
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401131619.s0DGJrd3052723>