You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/10/18 00:35:33 UTC

[1/2] cordova-lib git commit: [CB-11730] Modify condition of if clause to avoid similar project name with plugin name

Repository: cordova-lib
Updated Branches:
  refs/heads/master 5c8b4cac0 -> a170a465e


[CB-11730] Modify condition of if clause to avoid similar project name with plugin name


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/92fd4efc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/92fd4efc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/92fd4efc

Branch: refs/heads/master
Commit: 92fd4efc5aecdbc836b5f6dd0c1b2d560a0579d1
Parents: 5c8b4ca
Author: yseki <ya...@jp.sony.com>
Authored: Mon Aug 22 16:40:31 2016 +0900
Committer: Steve Gill <st...@gmail.com>
Committed: Mon Oct 17 17:33:26 2016 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/fetch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/92fd4efc/cordova-lib/src/plugman/fetch.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/fetch.js b/cordova-lib/src/plugman/fetch.js
index c39a998..7f7a283 100644
--- a/cordova-lib/src/plugman/fetch.js
+++ b/cordova-lib/src/plugman/fetch.js
@@ -330,7 +330,7 @@ function copyPlugin(pinfo, plugins_dir, link) {
 
     shell.rm('-rf', dest);
 
-    if(!link && dest.indexOf(path.resolve(plugin_dir)) === 0) {
+    if(!link && dest.indexOf(path.resolve(plugin_dir)+'\\') === 0) {
 
         if(/^win/.test(process.platform)) {
             /*


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[2/2] cordova-lib git commit: [CB-11730] Change the expression of folder separator charactor

Posted by st...@apache.org.
[CB-11730] Change the expression of folder separator charactor

 This closes #484


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

Branch: refs/heads/master
Commit: a170a465ec0a2dc4bbc98bfa47e03041521cf22e
Parents: 92fd4ef
Author: yseki <ya...@jp.sony.com>
Authored: Fri Oct 14 18:27:27 2016 +0900
Committer: Steve Gill <st...@gmail.com>
Committed: Mon Oct 17 17:33:27 2016 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/fetch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/a170a465/cordova-lib/src/plugman/fetch.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/fetch.js b/cordova-lib/src/plugman/fetch.js
index 7f7a283..d33e460 100644
--- a/cordova-lib/src/plugman/fetch.js
+++ b/cordova-lib/src/plugman/fetch.js
@@ -330,7 +330,7 @@ function copyPlugin(pinfo, plugins_dir, link) {
 
     shell.rm('-rf', dest);
 
-    if(!link && dest.indexOf(path.resolve(plugin_dir)+'\\') === 0) {
+    if(!link && dest.indexOf(path.resolve(plugin_dir)+path.sep) === 0) {
 
         if(/^win/.test(process.platform)) {
             /*


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org