[gnome-ostree] Fix build
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] Fix build
- Date: Thu, 5 Sep 2013 21:43:31 +0000 (UTC)
commit 482e9b83472ebca76fd73b0850f7552be75a92dd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 5 17:42:45 2013 -0400
Fix build
src/js/task.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/js/task.js b/src/js/task.js
index 4007bd3..7ce83dc 100644
--- a/src/js/task.js
+++ b/src/js/task.js
@@ -333,9 +333,9 @@ const Task = new Lang.Class({
this.libdir = Gio.File.new_for_path(GLib.getenv('OSTBUILD_LIBDIR'));
this.repo = this.workdir.get_child('repo');
this.ostreeRepo = new OSTree.Repo({ path: this.repo });
- if (!repo.get_path().query_exists(null))
- repo.create(OSTree.RepoMode.ARCHIVE_Z2, null);
- repo.open(null);
+ if (!this.ostreeRepo.get_path().query_exists(null))
+ this.ostreeRepo.create(OSTree.RepoMode.ARCHIVE_Z2, null);
+ this.ostreeRepo.open(null);
},
_getResultDb: function(taskname) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]