We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eee2847 commit 524f1e1Copy full SHA for 524f1e1
index.js
@@ -38,7 +38,7 @@ async function install_cpm(install_to) {
38
console.log(`install_to ${install_to}`);
39
40
// need to run it as sudo
41
- await exec.exec( 'sudo', [ PERL, '-MFile::Copy=cp', '-e', `cp("${cpmScript}", "${install_to}"); chmod(0755, "${install_to}")` ] );
+ await do_exec( [ PERL, '-MFile::Copy=cp', '-e', `cp("${cpmScript}", "${install_to}"); chmod(0755, "${install_to}")` ] );
42
//await io.cp(cpmScript, install_to); /* need to run with sudo */
43
//await ioUtil.chmod(install_to, '0755')
44
0 commit comments