From 4236d4a0c1f0b07df9970610f53c6f9fe49e141a Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 31 Jul 2021 18:36:31 -0400 Subject: [PATCH] Fix `dist/build/uBlock0.nodejs.tgz` target as suggested Related discussion: - https://github.com/gorhill/uBlock/pull/3789#issuecomment-890410567 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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