From: Thierry Parmentelat Date: Mon, 28 Jan 2008 11:39:05 +0000 (+0000) Subject: protect against .base not yet elaborated X-Git-Tag: 4.2-rc2~235 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=506872bc802de7c7975f6e6f2b775521e09effcf;p=build.git protect against .base not yet elaborated --- diff --git a/onelab-install.mk b/onelab-install.mk index cc734896..b5422d90 100644 --- a/onelab-install.mk +++ b/onelab-install.mk @@ -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