You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by mm...@apache.org on 2013/08/12 23:12:51 UTC

git commit: [CB-4572] Create parent dir for lazy_loaded local lib

Updated Branches:
  refs/heads/master a2f6f4ab9 -> 36f037ab6


[CB-4572] Create parent dir for lazy_loaded local lib


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

Branch: refs/heads/master
Commit: 36f037ab6ad58120d9a43c41c3a1e133fa78417c
Parents: a2f6f4a
Author: Michal Mocny <mm...@gmail.com>
Authored: Mon Aug 12 14:07:47 2013 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Mon Aug 12 17:12:08 2013 -0400

----------------------------------------------------------------------
 src/lazy_load.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/36f037ab/src/lazy_load.js
----------------------------------------------------------------------
diff --git a/src/lazy_load.js b/src/lazy_load.js
index 11f6dac..038a172 100644
--- a/src/lazy_load.js
+++ b/src/lazy_load.js
@@ -110,6 +110,7 @@ module.exports = {
             } else {
                 // local path
                 // symlink instead of copying
+                shell.mkdir('-p', path.join(download_dir, '..'));
                 fs.symlinkSync((uri.protocol && uri.protocol[1] == ':' ? uri.href : uri.path), download_dir, 'dir');
                 hooker.fire('after_library_download', {
                     platform:platform,