[gnome-continuous] build: Remove temporary directories
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] build: Remove temporary directories
- Date: Tue, 15 Oct 2013 00:18:57 +0000 (UTC)
commit c68fb33b72f41bb57e90cd415f286e3e523739d3
Author: Colin Walters <walters verbum org>
Date: Mon Oct 14 20:18:26 2013 -0400
build: Remove temporary directories
Otherwise we ENOSPC quickly.
src/js/tasks/task-build.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 666b425..4be3590 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -708,6 +708,8 @@ const TaskBuild = new Lang.Class({
let rev = this._commit(buildRef, "Build", file, cancellable, { withParent: false });
this.ostreeRepo.commit_transaction(cancellable);
+ GSystem.shutil_rm_rf(buildWorkdir, cancellable);
+
let ostreeRevision = this._saveComponentBuild(buildRef, rev, expandedComponent, cancellable);
this._rebuiltComponents.push(basename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]