From bb4c1a7fa701f791dbcb2f0b929306c6e816034f Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 15 Jan 2018 13:45:35 +0200 Subject: [PATCH] Don't filter out all scripts, just Java and JavaScript ones Change-Id: I3054a3f36ae1777b162fb5a1b9a456f1bce9248b Reviewed-on: https://gerrit.libreoffice.org/51991 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- kit/Kit.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kit/Kit.cpp b/kit/Kit.cpp index ddd0b2c83..90e9d58df 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -136,7 +136,8 @@ namespace strcmp(path, "sdk") != 0 && strcmp(path, "share/basic") != 0 && strcmp(path, "share/gallery") != 0 && - strcmp(path, "share/Scripts") != 0 && + strcmp(path, "share/Scripts/java") != 0 && + strcmp(path, "share/Scripts/javascript") != 0 && strcmp(path, "share/template") != 0 && strcmp(path, "share/config/wizard") != 0 && strcmp(path, "share/config/wizard") != 0;