[Fusionforge-commits] r17335 - branches/Branch_5_1

Roland Mas lolando at fusionforge.org
Fri May 24 13:36:03 CEST 2013


Author: lolando
Date: 2013-05-24 13:36:03 +0200 (Fri, 24 May 2013)
New Revision: 17335

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/Makefile.debian
Log:
Guard against non-empty dir

Modified: branches/Branch_5_1/Makefile.debian
===================================================================
--- branches/Branch_5_1/Makefile.debian	2013-05-24 11:31:31 UTC (rev 17334)
+++ branches/Branch_5_1/Makefile.debian	2013-05-24 11:36:03 UTC (rev 17335)
@@ -432,7 +432,7 @@
 
 clean: # Clean $(BUILDPLACE) $(BUILDFILES) $(TARBALLS) (intermediate files) #
 	rm -rf $(BUILDPLACE)/$(PKGNAME)-$(SMAJOR) $(BUILDFILES) $(TARBALLS) 
-	rmdir $(BUILDPLACE) && mkdir $(BUILDPLACE)
+	rmdir $(BUILDPLACE) && mkdir $(BUILDPLACE) || true
 
 cleanenv: # Clean $(COWBUILDERBASE) $(PBUILDERTGZ) (chroots)#
 	sudo rm -rf $(COWBUILDERBASE) $(PBUILDERTGZ)




More information about the Fusionforge-commits mailing list