Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

Commit

Permalink
fixed permission issue when copying cordova scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Aug 24, 2013
1 parent fd95f0b commit 31cd2b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/create
Expand Up @@ -75,7 +75,11 @@ function main(project_path,package_name,project_name){
shjs.cp('-r', path.join(ROOT, 'bin', 'templates', 'project', 'www'), project_path);

//copy cordova js file
shjs.cp('-r', path.join(ROOT, 'cordova-lib', 'cordova.js'), path.join(project_path,'www'));
shjs.cp('-r', path.join(ROOT, 'cordova-lib', 'cordova.js'), path.join(project_path,'www'));

//copy cordova folder
shjs.cp('-r', path.join(ROOT, 'bin', 'templates', 'project', 'cordova'), project_path);
shjs.chmod(755, path.join(project_path, 'cordova', 'run'));
}

function help(){
Expand Down

0 comments on commit 31cd2b5

Please sign in to comment.