From 1a4763c48df50830a72f4a04f1cc3c83a3fed07d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 13 Jun 2019 09:40:17 -0400 Subject: [PATCH] fix node_modules permissions before git clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is due to copying node_modules from nix store which is read-only Signed-off-by: Jakub SokoĊ‚owski --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 0b22fb3e8d..fab741d3b4 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,8 @@ endif clean: SHELL := /bin/sh clean: ##@prepare Remove all output folders + @test -d node_modules && chmod -R 744 node_modules; \ + test -d node_modules.tmp && chmod -R 744 node_modules.tmp; \ git clean -dxf -f clean-nix: SHELL := /bin/sh