]> git.e2factory.org Git - e2factory.git/commitdiff
create build directory named by version, to avoid future bugs when changing
authorGordon Hecker <gh@emlix.com>
Mon, 22 Jun 2009 13:40:57 +0000 (15:40 +0200)
committerGordon Hecker <gh@emlix.com>
Fri, 2 Oct 2009 10:38:28 +0000 (12:38 +0200)
layout of the build data

Signed-off-by: Gordon Hecker <gh@emlix.com>
Changelog
local/e2build.lua

index 8595a0a9ba35323a43951c48df53fc9f417ea795..f03740668645bbe8dd3dbf7c0b66c2b9965bdb1d 100644 (file)
--- 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
index 12da05541c57e0d9bc227edc3cf7a25095d9728b..f3dbc505c99f29aa1781ceff6a094ca9b2c2eb10 100644 (file)
@@ -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