From: Galen Charlton Date: Thu, 6 Sep 2018 21:03:58 +0000 (-0400) Subject: LP#1775466: tweak how make_release prunes eg2/node_modules X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=03d94e21e5052156efecefb1ac87de11206c9954;p=working%2FEvergreen.git 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 --- 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"