From 03d94e21e5052156efecefb1ac87de11206c9954 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 6 Sep 2018 17:03:58 -0400 Subject: [PATCH] LP#1775466: tweak how make_release prunes eg2/node_modules Need the -f since some stuff under eg2/node_modules/.cache ends up as 0444 for some reason, meaning that 'rm -r' doesn't remove those files and complains about it. Signed-off-by: Galen Charlton Signed-off-by: Bill Erickson --- build/tools/make_release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/tools/make_release b/build/tools/make_release index 050f95bec1..9ebc43267f 100755 --- a/build/tools/make_release +++ b/build/tools/make_release @@ -348,7 +348,7 @@ if [ "$BUILD_BROWSER_CLIENT" == "YES" ]; then npm install # fetch build dependencies ng build --prod # npm cache is big and unnecessary in the final build. remove it. - rm -r node_modules + rm -rf node_modules cd ../../../../ # release dir else echo "Skipping browser client build" -- 2.11.0