From af146df7a0dd4ca7aa35c0bbc91f10bed644c214 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Tue, 17 Nov 2020 09:42:45 +0200 Subject: [PATCH] fix Signed-off-by: Jari Kolehmainen --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 064c4b68a1..791aade644 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ EXTENSIONS_DIR = ./extensions -extension_node_modules = $(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), ${dir}/node_modules/) -extension_dists = $(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), ${dir}/dist/) +extension_node_modules = $(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), ${dir}/node_modules) +extension_dists = $(foreach dir, $(wildcard $(EXTENSIONS_DIR)/*), ${dir}/dist) ifeq ($(OS),Windows_NT) DETECTED_OS := Windows @@ -66,7 +66,7 @@ else endif $(extension_node_modules): - cd $(@:/node_modules=) && npm install --no-audit --no-fund + cd $(@:/node_modules="") && npm install --no-audit --no-fund $(extension_dists): cd $(@:/dist=) && npm run build