[Cluster-devel] cluster/fence/agents/scsi Makefile

rohara at sourceware.org rohara at sourceware.org
Thu Oct 12 22:02:48 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara at sourceware.org	2006-10-12 22:02:48

Modified files:
	fence/agents/scsi: Makefile 

Log message:
	Add code to create initdir if it doesn't exist.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/agents/scsi/Makefile.diff?cvsroot=cluster&r1=1.5&r2=1.6

--- cluster/fence/agents/scsi/Makefile	2006/10/12 16:29:34	1.5
+++ cluster/fence/agents/scsi/Makefile	2006/10/12 22:02:48	1.6
@@ -34,6 +34,9 @@
 		install -d ${sbindir}; \
 	fi
 	install -m755 ${TARGET} ${sbindir}
+	if [ ! -d ${initdir} ]; then \
+		install -d ${initdir}; \
+	fi
 	install -m755 ${SCRIPT} ${initdir}
 
 clean:




More information about the Cluster-devel mailing list