This commit is contained in:
Bryan MacFarlane
2019-06-26 16:32:26 -06:00
committed by GitHub
parent 4d73af8dd9
commit 74bc508b74

View File

@@ -273,7 +273,7 @@ function cacheDir(sourceDir, tool, version, arch) {
// due to anti-virus software having an open handle on a file.
for (const itemName of fs.readdirSync(sourceDir)) {
const s = path.join(sourceDir, itemName);
shell.cp(s, destPath, '-r');
shell.cp('-R', s, destPath);
}
// write .complete
_completeToolPath(tool, version, arch);