From 9abb468d793755c5575dc1d69223cb53e957c5cb Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 4 Jun 2021 17:21:35 -0400 Subject: [PATCH] build(striker-ui): include pwd when unlocking files for building web UI --- striker-ui/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/striker-ui/Makefile.am b/striker-ui/Makefile.am index 6ad64289..3fe53612 100644 --- a/striker-ui/Makefile.am +++ b/striker-ui/Makefile.am @@ -109,9 +109,9 @@ all: out # out: -@echo "Copying required build files to build (current) directory." - find $(srcdir) -mindepth 1 -maxdepth 1 ! -name "[Mm]ake*" -exec rsync -a {} + ./ + rsync -av --exclude "[Mm]ake*" $(srcdir)/ ./ -@echo "Allow tools to write to files in the build directory." - chmod -R +w ./* + chmod -R +w . -@echo "Install node modules (dependencies) prior to building." npm install --no-package-lock --ignore-scripts -@echo "Generate endpoint prefix."