From d99dac599a8478f883f99d186ddb50ea4194e523 Mon Sep 17 00:00:00 2001 From: Geoff Schmidt Date: Mon, 22 Apr 2013 07:33:21 -0700 Subject: [PATCH] use correct buildinfo.json so unipackages aren't rebuilt all the time --- tools/packages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/packages.js b/tools/packages.js index 112939cdf0..935ad0eef6 100644 --- a/tools/packages.js +++ b/tools/packages.js @@ -1261,7 +1261,7 @@ _.extend(Package.prototype, { // If we're supposed to check the dependencies, go ahead and do so if (options.onlyIfUpToDate) { if (options.buildOfPath && - (buildInfoJson.buildOfPath !== options.buildOfPath)) { + (buildInfoJson.source !== options.buildOfPath)) { // This catches the case where you copy a source tree that had // a .build directory and then modify a file. Without this // check you won't see a rebuild (even if you stop and restart