protect against .base not yet elaborated
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 28 Jan 2008 11:39:05 +0000 (11:39 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 28 Jan 2008 11:39:05 +0000 (11:39 +0000)
onelab-install.mk

index cc73489..b5422d9 100644 (file)
@@ -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