more robust config prompting
[build.git] / onelab-install.mk
index f56c8ad..b5422d9 100644 (file)
@@ -1,7 +1,7 @@
 #
 # Thierry Parmentelat - INRIA Sophia Antipolis 
 #
-### $Id: onelab-install.mk 685 2007-07-19 09:01:41Z thierry $
+### $Id$
 # 
 # Installation rules
 # 
@@ -24,7 +24,7 @@ endif
 
 RPMSAREA       := /var/www/html/install-rpms/
 
-BUILD_BASE     := $(shell cat .base)
+BUILD_BASE     := $(shell cat .base 2> /dev/null || echo base-undefined)
 BASENEW                := build-$(BUILD_BASE)
 BASEBAK                := planetlab-bak
 BASE           := planetlab