[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rohara 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]