mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-19 07:02:51 +08:00
CB-4527: This was an easy fix, since the script deletes batch files
This commit is contained in:
parent
2d88a726b7
commit
fe7b2a36ec
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user