From fe7b2a36ecc17ff409597d6654a7740ea1759e0b Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Tue, 24 Sep 2013 10:52:41 -0700 Subject: [PATCH] CB-4527: This was an easy fix, since the script deletes batch files --- bin/lib/create.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/lib/create.js b/bin/lib/create.js index 9c6e86c6..e90856dd 100755 --- a/bin/lib/create.js +++ b/bin/lib/create.js @@ -86,16 +86,6 @@ function copyScripts(projectPath) { shell.cp(path.join(ROOT, 'bin', 'check_reqs'), path.join(destScriptsDir, 'check_reqs')); shell.cp(path.join(ROOT, 'bin', 'lib', 'check_reqs.js'), path.join(projectPath, 'cordova', 'lib', 'check_reqs.js')); - if (!/^win/.test(process.platform)) { - // Ensure they are all executable and delete .bat files. - shell.find(destScriptsDir).forEach(function(p) { - if (/\.bat$/.test(p)) { - shell.rm(p); - } else { - shell.chmod(755, p); - } - }); - } } /**