You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/03/28 09:00:51 UTC

[06/26] git commit: [CB-2830] Delete old cordova js on reversion

[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 <be...@gmail.com>
Authored: Wed Mar 27 13:42:59 2013 -0700
Committer: Benn Mapes <be...@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();