diff --git a/Makefile b/Makefile index 351cf55c7..be78a1afa 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ install-nodejs-link: dist/build/uBlock0.nodejs npm install dist/build/uBlock0.nodejs --no-save dist/build/uBlock0.nodejs.tgz: dist/build/uBlock0.nodejs - tar czf dist/build/uBlock0.nodejs.tgz --strip-components 2 dist/build/uBlock0.nodejs + cd dist/build && tar czf uBlock0.nodejs.tgz uBlock0.nodejs # Install the Node.js package. install-nodejs: dist/build/uBlock0.nodejs.tgz