diff --git a/action.js b/action.js index a0eb963e..54dcba8f 100644 --- a/action.js +++ b/action.js @@ -10,7 +10,7 @@ try { // we build to /opt and special case this action so people new to // building aren’t immediatelyt flumoxed if (PREFIX == '/opt' && os.platform == 'darwin') { - execSync('sudo chown -R $(whoami):staff /opt') + execSync('sudo chown $(whoami):staff /opt') } let out = execSync(`${__dirname}/install.sh`, {