[gnome-continuous/wip/new-model: 13/15] Two fixes for autobuilder
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous/wip/new-model: 13/15] Two fixes for autobuilder
- Date: Tue, 8 Oct 2013 17:03:07 +0000 (UTC)
commit a271cdcd83a94a50bccb101c473aeeb174388884
Author: Colin Walters <walters verbum org>
Date: Tue Oct 8 07:37:36 2013 -0400
Two fixes for autobuilder
src/js/builtins/autobuilder.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index 0226e41..c89ca6b 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -23,6 +23,7 @@ const GSystem = imports.gi.GSystem;
const Builtin = imports.builtin;
const Task = imports.task;
+const BuildUtil = imports.buildutil;
const ProcUtil = imports.procutil;
const VersionedDir = imports.versioneddir;
@@ -178,7 +179,7 @@ const Autobuilder = new Lang.Class({
if (lastVersion) {
let lastBuildPath = this._buildsDir.path.get_child(lastVersion);
- BuildUtil.atomicSymlinkSwap(buildPath.get_child('last-build'), lastBuildPath);
+ BuildUtil.atomicSymlinkSwap(buildPath.get_child('last-build'), lastBuildPath, null);
}
return buildPath;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]