From ca4fd275a24b3a09ac224b343fd9144ce69f956d Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 26 Mar 2020 15:36:40 -0700 Subject: [PATCH] webview build: Whitelist files to copy, rather than blacklist. This has the same effect if the directory is totally clean, containing no files other than those in the Git tree. But if if there are any extraneous files, this prevents accidentally picking them up and building them into the app. Suggested-by: Ray Kraesig --- tools/build-webview | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/build-webview b/tools/build-webview index eafc2ce1745..52d6ee1023b 100755 --- a/tools/build-webview +++ b/tools/build-webview @@ -158,8 +158,7 @@ sync() { # Sync the directory structure, preserving metadata. sync "${root}/src/webview/static" "${dest}" <