[Lunar-commits] r24063 - lunar-iso/trunk

Auke Kok sofar at lunar-linux.org
Sat Apr 14 21:27:00 CEST 2007


Author: sofar
Date: 2007-04-14 21:27:00 +0200 (Sat, 14 Apr 2007)
New Revision: 24063

Modified:
   lunar-iso/trunk/Makefile
Log:
Prevent a crashed `make iso` from deleting everything


Modified: lunar-iso/trunk/Makefile
===================================================================
--- lunar-iso/trunk/Makefile	2007-04-14 14:44:06 UTC (rev 24062)
+++ lunar-iso/trunk/Makefile	2007-04-14 19:27:00 UTC (rev 24063)
@@ -92,6 +92,10 @@
 
 init: $(ISO_TARGET)/.init
 $(ISO_TARGET)/.init:
+	@if [ -d BUILD ] ; then \
+		echo "BUILD directory already exists!"; \
+		false; \
+	fi
 	@echo "Creating BUILD root"
 	@scripts/init
 



More information about the Lunar-commits mailing list