You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/09/24 19:52:54 UTC
android commit: CB-4527: This was an easy fix,
since the script deletes batch files
Updated Branches:
refs/heads/master 2d88a726b -> fe7b2a36e
CB-4527: This was an easy fix, since the script deletes batch files
Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/fe7b2a36
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/fe7b2a36
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/fe7b2a36
Branch: refs/heads/master
Commit: fe7b2a36ecc17ff409597d6654a7740ea1759e0b
Parents: 2d88a72
Author: Joe Bowser <bo...@apache.org>
Authored: Tue Sep 24 10:52:41 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Tue Sep 24 10:52:41 2013 -0700
----------------------------------------------------------------------
bin/lib/create.js | 10 ----------
1 file changed, 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-android/blob/fe7b2a36/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 9c6e86c..e90856d 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);
- }
- });
- }
}
/**