Code

Fix the makefile ('[[' is bash-specific, 'rm -f' don't remove directories)
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Sat, 24 Feb 2007 01:03:40 +0000 (01:03 +0000)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>
Sat, 24 Feb 2007 01:03:40 +0000 (01:03 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1623 f882894a-f735-0410-b71e-b25c423dba1c

doc/makefile

index 0b3d819d550b76a9a0008f08165e0f8984897785..b1b56c1831b94371ab9141c6628a360cdbf7f553 100644 (file)
@@ -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: