[gnome-continuous] builddisks: Fix more
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] builddisks: Fix more
- Date: Thu, 10 Oct 2013 19:21:12 +0000 (UTC)
commit e9e29c55a884a2798e9fa8eeacd07c3940ce3c9a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 10 15:19:42 2013 -0400
builddisks: Fix more
src/js/tasks/task-builddisks.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/js/tasks/task-builddisks.js b/src/js/tasks/task-builddisks.js
index d105eca..3cee479 100644
--- a/src/js/tasks/task-builddisks.js
+++ b/src/js/tasks/task-builddisks.js
@@ -66,13 +66,14 @@ const TaskBuildDisks = new Lang.Class({
return;
}
- let buildData = JsonUtil.loadJson(this.builddir.get_child('build.json'), cancellable);
+ let buildDataPath = this.builddir.get_child('build.json');
+ let buildData = JsonUtil.loadJson(buildDataPath, cancellable);
let workImageDir = Gio.File.new_for_path('images');
GSystem.file_ensure_directory(workImageDir, true, cancellable);
let destPath = workImageDir.get_child('build-' + this._buildName + '.json');
- GSystem.file_linkcopy(latestPath, destPath, Gio.FileCopyFlags.ALL_METADATA, cancellable);
+ GSystem.file_linkcopy(buildDataPath, destPath, Gio.FileCopyFlags.ALL_METADATA, cancellable);
let targets = buildData['targets'];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]