From 9a80f45dd77d7c120114c5a419581cda15be9148 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Fri, 29 Jun 2012 15:30:40 +0100
Subject: [PATCH] fix compress set to include templates in shared resources. 
 closes #1872

---
 scripts/compress | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/compress b/scripts/compress
index 7c8b797d6..55e5a241f 100755
--- a/scripts/compress
+++ b/scripts/compress
@@ -41,7 +41,7 @@ Object.keys(all).forEach(function(resource) {
   // in prod '/build/templates.js' has all templates glommed into it,
   // and is bundled into the Big Minified Piles Of Resources we ship.
   // Here we sub the former with the latter.
-  var ix = all[resource].indexOf('/shared/templates.js');
+  var ix = all[resource].indexOf('/common/js/templates.js');
   if (ix != -1) all[resource].splice(ix, 1, '/build/templates.js');
 
   cc.enqueue({
-- 
GitLab