From dbcc5d303843cd936582812f14106e799bd922b8 Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Mon, 22 Jun 2009 15:40:57 +0200 Subject: [PATCH] create build directory named by version, to avoid future bugs when changing layout of the build data Signed-off-by: Gordon Hecker --- Changelog | 1 + local/e2build.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 8595a0a..f037406 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,5 @@ NEXT: + * temporary build directories are located in a version specific directory now e2factory-2.3.1 * bugfixes diff --git a/local/e2build.lua b/local/e2build.lua index 12da055..f3dbc50 100644 --- a/local/e2build.lua +++ b/local/e2build.lua @@ -163,8 +163,8 @@ function e2build.build_config(info, r) end res.build_config = {} -- build up a new build config local tab = res.build_config - local tmpdir = string.format("%s/e2-2.2-build/%s", e2lib.tmpdir, - e2lib.username) + local tmpdir = string.format("%s/e2factory-%s.%s.%s-build", e2lib.tmpdir, + buildconfig.MAJOR, buildconfig.MINOR, buildconfig.PATCHLEVEL) local project = info.name local builddir = "tmp/e2" tab.mode = nil -- XXX -- 2.39.5