This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.9 by this push:
new 6d16025d895 [branch-2.9] [fix][license] Fix presto license exclude
trim java agent (#15453)
6d16025d895 is described below
commit 6d16025d8955819481f372b74d5b050277581704
Author: ran <[email protected]>
AuthorDate: Thu May 5 21:55:50 2022 +0800
[branch-2.9] [fix][license] Fix presto license exclude trim java agent
(#15453)
---
src/check-binary-license | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/check-binary-license b/src/check-binary-license
index 5e8f365178a..afe380d5c8f 100755
--- a/src/check-binary-license
+++ b/src/check-binary-license
@@ -96,7 +96,7 @@ done
if [ "$NO_PRESTO" -ne 1 ]; then
# check pulsar sql jars
- JARS=$(tar -tf $TARBALL | grep '\.jar' | grep 'lib/presto/' | grep -v
pulsar-client | grep -v bouncy-castle-bc | grep -v pulsar-metadata | grep -v
'managed-ledger' | grep -v 'pulsar-client-admin' | grep -v
'pulsar-client-api' | grep -v 'pulsar-functions-api' | grep -v
'pulsar-presto-connector-original' | grep -v 'pulsar-presto-distribution' |
grep -v 'pulsar-common' | grep -v 'pulsar-functions-proto' | grep -v
'pulsar-functions-utils' | grep -v 'pulsar-io-core' | grep -v 'pulsar-tran [...]
+ JARS=$(tar -tf $TARBALL | grep '\.jar' | grep 'lib/presto/' | grep -v
pulsar-client | grep -v bouncy-castle-bc | grep -v pulsar-metadata | grep -v
'managed-ledger' | grep -v 'pulsar-client-admin' | grep -v
'pulsar-client-api' | grep -v 'pulsar-functions-api' | grep -v
'pulsar-presto-connector-original' | grep -v 'pulsar-presto-distribution' |
grep -v 'pulsar-common' | grep -v 'pulsar-functions-proto' | grep -v
'pulsar-functions-utils' | grep -v 'pulsar-io-core' | grep -v 'pulsar-tran [...]
LICENSEPATH=$(tar -tf $TARBALL | awk '/^[^\/]*\/lib\/presto\/LICENSE/')
LICENSE=$(tar -O -xf $TARBALL "$LICENSEPATH")
LICENSEJARS=$(echo "$LICENSE" | sed -nE 's!.* (.*\.jar).*!\1!gp')