[gnome-ostree] build: Don't reuse previous metadata if patch URI is local:



commit 53983871c176be6788a386f2d0a5cf3f0aa88c5a
Author: Colin Walters <walters verbum org>
Date:   Thu Mar 21 11:18:59 2013 -0400

    build: Don't reuse previous metadata if patch URI is local:
    
    Since the revision might not change.

 src/js/tasks/task-build.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/js/tasks/task-build.js b/src/js/tasks/task-build.js
index 3db9117..8740798 100644
--- a/src/js/tasks/task-build.js
+++ b/src/js/tasks/task-build.js
@@ -435,6 +435,7 @@ const TaskBuild = new Lang.Class({
            }
             if ((previousMetadata != null) &&
                 previousMetadata['patches'] &&
+                previousMetadata['patches']['src'].indexOf('local:') != 0 &&
                 previousMetadata['patches']['revision'] &&
                 previousMetadata['patches']['revision'] == patchesRevision) {
                 // Copy over the sha256sums


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