cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [06/18] [CB-4341] Adding a fix to make subdirectories work within a local plugin dependency - Includes the integration of integration specs which test installation of plugins with dependencies
Date Wed, 24 Jul 2013 22:39:46 GMT
http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/21b6d79b/src/install.js
----------------------------------------------------------------------
diff --git a/src/install.js b/src/install.js
index 13aa9bb..fd0f9de 100644
--- a/src/install.js
+++ b/src/install.js
@@ -198,6 +198,8 @@ function runInstall(actions, platform, project_dir, plugin_dir, plugins_dir,
opt
                     }
 
                     var dep_url = path.join(result.output.trim(), dep_subdir);
+                    //Clear out the subdir since the url now contains it
+                    dep_subdir = "";
                     shell.cd(old_pwd);
                 } else if (fetchdata.source.type === 'git') {
                     dep_url = fetchdata.source.url;


Mime
View raw message