[gnome-ostree/wip/libostree: 3/4] builtin: Remove some unnecessary variables from builtins
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree/wip/libostree: 3/4] builtin: Remove some unnecessary variables from builtins
- Date: Wed, 4 Sep 2013 21:36:31 +0000 (UTC)
commit b19660d9e33897ceaeaeceddb2af3c29212b44bc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Sep 1 11:30:37 2013 -0400
builtin: Remove some unnecessary variables from builtins
src/js/builtin.js | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/js/builtin.js b/src/js/builtin.js
index e353e94..8f51666 100644
--- a/src/js/builtin.js
+++ b/src/js/builtin.js
@@ -46,15 +46,13 @@ const Builtin = new Lang.Class({
workdir = Gio.File.new_for_path('.');
else if (typeof(workdir) == 'string')
workdir = Gio.File.new_for_path(workdir);
-
+
BuildUtil.checkIsWorkDirectory(workdir);
-
+
this.workdir = workdir;
this.mirrordir = workdir.get_child('src');
GSystem.file_ensure_directory(this.mirrordir, true, cancellable);
this.patchdir = this.workdir.get_child('patches');
- this.libdir = Gio.File.new_for_path(GLib.getenv('OSTBUILD_LIBDIR'));
- this.repo = this.workdir.get_child('repo');
},
_initSnapshot: function(workdir, snapshotPath, cancellable) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]