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 00:40:53 UTC

[3/7] wp7 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-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp7/commit/200958b8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp7/tree/200958b8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp7/diff/200958b8

Branch: refs/heads/master
Commit: 200958b81536719a7e6e51ff5dd484b551cbe298
Parents: 0819634
Author: Benn Mapes <be...@gmail.com>
Authored: Wed Mar 27 13:15:55 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Wed Mar 27 13:36:53 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/200958b8/tooling/scripts/reversion.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/reversion.js b/tooling/scripts/reversion.js
index cbed71b..7e80239 100644
--- a/tooling/scripts/reversion.js
+++ b/tooling/scripts/reversion.js
@@ -245,12 +245,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);
         }
     }
 }