[gnome-ostree] build: Move contents.json to /usr/share



commit 2852a586e0fdaf6edadf7569a2a78d93dd7259fe
Author: Colin Walters <walters verbum org>
Date:   Mon Feb 11 05:57:59 2013 -0500

    build: Move contents.json to /usr/share
    
    It's just less ugly.

 src/ostbuild/js/tasks/task-build.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/tasks/task-build.js b/src/ostbuild/js/tasks/task-build.js
index 24f4b80..c03fd96 100644
--- a/src/ostbuild/js/tasks/task-build.js
+++ b/src/ostbuild/js/tasks/task-build.js
@@ -532,7 +532,7 @@ const TaskBuild = new Lang.Class({
                          {logInitiation: true});
         GSystem.file_unlink(contentsTmpPath, cancellable);
 
-        let contentsPath = composeRootdir.get_child('contents.json');
+        let contentsPath = composeRootdir.resolve_relative_path('usr/share/contents.json');
         JsonUtil.writeJsonFileAtomic(contentsPath, this._snapshot.data, cancellable);
 
         let treename = 'trees/' + target['name'];


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