[gnome-continuous] builddisks: Fix another uninitialized variable



commit b63cd798de88df63deffc3f215c49829f44174f2
Author: Colin Walters <walters verbum org>
Date:   Thu Oct 10 14:14:46 2013 -0400

    builddisks: Fix another uninitialized variable

 src/js/tasks/task-builddisks.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/js/tasks/task-builddisks.js b/src/js/tasks/task-builddisks.js
index 8f4b5e4..d105eca 100644
--- a/src/js/tasks/task-builddisks.js
+++ b/src/js/tasks/task-builddisks.js
@@ -71,7 +71,7 @@ const TaskBuildDisks = new Lang.Class({
         let workImageDir = Gio.File.new_for_path('images');
         GSystem.file_ensure_directory(workImageDir, true, cancellable);
 
-        let destPath = workImageDir.get_child('build-' + buildVersion + '.json');
+        let destPath = workImageDir.get_child('build-' + this._buildName + '.json');
         GSystem.file_linkcopy(latestPath, destPath, Gio.FileCopyFlags.ALL_METADATA, cancellable);
 
         let targets = buildData['targets'];


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]