cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [06/26] git commit: [CB-2830] Delete old cordova js on reversion
Date Thu, 28 Mar 2013 08:00:51 GMT
[CB-2830] Delete old cordova js on reversion


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/54bc1acb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/54bc1acb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/54bc1acb

Branch: refs/heads/2.6.x
Commit: 54bc1acbd26e2d6e884eb2e40bf59eafa7d4a29f
Parents: 18911e8
Author: Benn Mapes <benn.mapes@gmail.com>
Authored: Wed Mar 27 13:42:59 2013 -0700
Committer: Benn Mapes <benn.mapes@gmail.com>
Committed: Wed Mar 27 13:42:59 2013 -0700

----------------------------------------------------------------------
 tooling/scripts/reversion.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/54bc1acb/tooling/scripts/reversion.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/reversion.js b/tooling/scripts/reversion.js
index 03981d0..5662a65 100644
--- a/tooling/scripts/reversion.js
+++ b/tooling/scripts/reversion.js
@@ -246,12 +246,12 @@ function cleanup()
             fso.DeleteFile(BUILD_DESTINATION + FULL_PATH + '\\www\\' + full_www.Item(i).Name);
         }
     }
-    var standalone_www = shell.NameSpace(BUILD_DESTINATION + FULL_PATH + '\\www').Items();
+    var standalone_www = shell.NameSpace(BUILD_DESTINATION + STANDALONE_PATH + '\\www').Items();
     for(var i = 0; i < standalone_www.Count; i++)
     {
         if(standalone_www.Item(i).Name.match(/cordova[-](\d+)[.](\d+)[.](\d+)(rc\d)?[.]js/))
         {
-            fso.DeleteFile(BUILD_DESTINATION + FULL_PATH + '\\www\\' + standalone_www.Item(i).Name);
+            fso.DeleteFile(BUILD_DESTINATION + STANDALONE_PATH + '\\www\\' + standalone_www.Item(i).Name);
         }
     }
         var custom_www = shell.NameSpace(BUILD_DESTINATION + CUSTOM_PATH + '\\www').Items();


Mime
View raw message