Skip to contentSkip to conversation

cluster/fence/agents/scsi Makefile

Cluster-devel [email protected] 1 participant 1 message Oct 12, 2006

lore
Share & tools
lore
#0 lore raw

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

fence/agents/scsi/Makefile +3 -0
@@ -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: