diff --git a/bin/lib/create.js b/bin/lib/create.js index 8f52d7c7..fd5f03f8 100755 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -319,7 +319,7 @@ exports.updateProject = function(projectPath, shared) { copyBuildRules(projectPath); removeDebuggableFromManifest(projectPath); writeProjectProperties(projectPath, target_api); - prepBuildFiles(project_path); + prepBuildFiles(projectPath); console.log(generateDoneMessage('update', shared)); }); }; diff --git a/bin/templates/cordova/lib/build.js b/bin/templates/cordova/lib/build.js index 2d4df553..326ed9a9 100644 --- a/bin/templates/cordova/lib/build.js +++ b/bin/templates/cordova/lib/build.js @@ -389,6 +389,7 @@ function parseOpts(options, resolvedTarget) { break; case 'prepenv' : ret.prepEnv = true; + break; case 'nobuild' : ret.buildMethod = 'none'; break;