summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-10-05 03:54:30 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-10-05 03:54:30 +0000
commita1afb6e006868d15997c58d37643812abac9c9af (patch)
treea8c6c59eea7832dd6286c36ba3ed5c1adebcb706
parent886d45d8dd6b5264f25079006e83dfcabcf9541c (diff)
parent3eec9c57cae6792772022092f7a3f34e4fff8f05 (diff)
Merge "Switch perl to logging"
-rw-r--r--ui/build/paths/config.go8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/build/paths/config.go b/ui/build/paths/config.go
index 788646610..ef6fd5f67 100644
--- a/ui/build/paths/config.go
+++ b/ui/build/paths/config.go
@@ -39,6 +39,12 @@ var Forbidden = PathConfig{
Error: true,
}
+var Log = PathConfig{
+ Symlink: true,
+ Log: true,
+ Error: false,
+}
+
// The configuration used if the tool is not listed in the config below.
// Currently this will create the symlink, but log and error when it's used. In
// the future, I expect the symlink to be removed, and this will be equivalent
@@ -104,7 +110,7 @@ var Configuration = map[string]PathConfig{
"openssl": Allowed,
"paste": Allowed,
"patch": Allowed,
- "perl": Allowed,
+ "perl": Log,
"pgrep": Allowed,
"pkill": Allowed,
"ps": Allowed,