[gnome-ostree] build: Move buildroots to cache/
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] build: Move buildroots to cache/
- Date: Thu, 21 Feb 2013 17:48:17 +0000 (UTC)
commit 4aa9dd530e32a0e180bad9e352a59516d59716e3
Author: Colin Walters <walters verbum org>
Date: Thu Feb 21 08:59:35 2013 -0500
build: Move buildroots to cache/
So it's clear that you can rm -rf them at any time.
src/ostbuild/js/tasks/task-build.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/tasks/task-build.js b/src/ostbuild/js/tasks/task-build.js
index e01635f..4301b3a 100644
--- a/src/ostbuild/js/tasks/task-build.js
+++ b/src/ostbuild/js/tasks/task-build.js
@@ -76,7 +76,7 @@ const TaskBuild = new Lang.Class({
let prefix = this._snapshot.data['prefix'];
let buildname = Format.vprintf('%s/%s/%s', [prefix, componentName, architecture]);
- let buildrootCachedir = this.workdir.resolve_relative_path('roots/' + buildname);
+ let buildrootCachedir = this.cachedir.resolve_relative_path('roots/' + buildname);
GSystem.file_ensure_directory(buildrootCachedir, true, cancellable);
let components = this._snapshot.data['components']
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]