gerrit/tools/bzl/test_license.sh
Han-Wen Nienhuys 8dfc795649 Make built-in bouncycastle actually work
This change fixes the following issues:

* server needs bcpkix for parsing public/private keys.

* do not special-case "jdk15on" in pkg_war.
  We only have these in the BC jars.

* remove BC specific license checking exceptions.

* remove language about requiring BC installed separately.

* remove BC special-casing from eclipse setup.

Tested:
  rm bin/* lib/* in testsite
  ran 141 -> 142 schema upgrade successfully
  ran daemon successfully
  LICENSE.txt in war file has an entry for the BC license
  Loaded new project in eclipse; verified that BouncyCastleUtil.java loads.

Change-Id: I80c2b0c038ada8397b44373194bd199f491a39c3
2017-02-20 15:02:06 +01:00

9 lines
76 B
Bash
Executable File

#!/bin/sh
if test -s $1
then
echo "$1 not empty:"
cat "$1"
exit 1
fi