timescaledb/scripts/check_license_all.sh
Sven Klemm 5c70dfcc0e Add isolation test files to license check
This patch enhances the license check script to check for a
license header in isolation test files
2020-07-20 13:22:49 +02:00

14 lines
463 B
Bash
Executable File

#!/bin/bash
SCRIPT_DIR=$(dirname $0)
BASE_DIR=$(dirname ${SCRIPT_DIR})
SRC_DIR=$BASE_DIR ${SCRIPT_DIR}/check_license.sh -c ${BASE_DIR}/src -s ${BASE_DIR}/sql -c ${BASE_DIR}/test -s ${BASE_DIR}/test -i ${BASE_DIR}/test
exit_apache=$?
SRC_DIR=$BASE_DIR ${SCRIPT_DIR}/check_license.sh -e ${BASE_DIR}/tsl/src -t ${BASE_DIR}/tsl/test -e ${BASE_DIR}/tsl/test -j ${BASE_DIR}/tsl/test
exit_tsl=$?
if [ ${exit_apache} -ne 0 ] || [ ${exit_tsl} -ne 0 ]; then
exit 1
fi