Skip to content

Commit

Permalink
Fix file permissions for some AzCopy dependencies (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroFish91 authored Dec 4, 2024
1 parent 54c6d3b commit ec7aa17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gulpfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ async function cleanReadme(): Promise<void> {
async function setAzCopyExePermissions(): Promise<void> {
cp.exec(`chmod u+x ${path.join(__dirname, 'node_modules/@azure-tools/azcopy-darwin/dist/bin/azcopy_darwin_amd64')}`);
cp.exec(`chmod u+x ${path.join(__dirname, 'node_modules/@azure-tools/azcopy-linux/dist/bin/azcopy_linux_amd64')}`);

// Related: https://github.com/microsoft/vscode-azurestorage/issues/1346
cp.exec(`chmod u+x ${path.join(__dirname, 'node_modules/@azure-tools/azcopy-node/node_modules/@azure-tools/azcopy-darwin/dist/bin/azcopy_darwin_amd64')}`);
cp.exec(`chmod u+x ${path.join(__dirname, 'node_modules/@azure-tools/azcopy-node/node_modules/@azure-tools/azcopy-linux/dist/bin/azcopy_linux_amd64')}`);
}

exports['webpack-dev'] = gulp.series(prepareForWebpack, () => gulp_webpack('development'));
Expand Down

0 comments on commit ec7aa17

Please sign in to comment.