[Nagiosplug-checkins] nagiosplug/doc makefile,1.4,1.5

Thomas Guyot dermoth at users.sourceforge.net
Sat Feb 24 02:03:43 CET 2007


Update of /cvsroot/nagiosplug/nagiosplug/doc
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9633

Modified Files:
	makefile 
Log Message:
Fix the makefile ('[[' is bash-specific, 'rm -f' don't remove directories)


Index: makefile
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/doc/makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- makefile	24 Nov 2004 21:19:05 -0000	1.4
+++ makefile	24 Feb 2007 01:03:40 -0000	1.5
@@ -2,9 +2,9 @@
 
 developer-guidelines.html: developer-guidelines.sgml
 	docbook2html -u developer-guidelines.sgml
-	if [[ -e developer-guidelines/developer-guidelines.html ]] ; then \
+	if [ -e developer-guidelines/developer-guidelines.html ] ; then \
 		mv developer-guidelines/developer-guidelines.html . ;\
-		rm -f developer-guidelines ;\
+		rm -rf developer-guidelines ;\
 	fi
 
 clean:





More information about the Commits mailing list