Moved log file generated by validate-distribution.sh In some scenarios it was being recognized as a file recognized by rat which woudl fail the validation.
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/07f42e87 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/07f42e87 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/07f42e87 Branch: refs/heads/TINKERPOP-1360 Commit: 07f42e87e909c41cf994ff0e18fdbae3507bbc7b Parents: 89c936b Author: Stephen Mallette <[email protected]> Authored: Mon Jul 18 15:45:47 2016 -0400 Committer: Stephen Mallette <[email protected]> Committed: Mon Jul 18 15:45:47 2016 -0400 ---------------------------------------------------------------------- bin/validate-distribution.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/07f42e87/bin/validate-distribution.sh ---------------------------------------------------------------------- diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh index 399acdb..68cde4d 100755 --- a/bin/validate-distribution.sh +++ b/bin/validate-distribution.sh @@ -115,7 +115,7 @@ echo "OK" if [ "${TYPE}" = "SOURCE" ]; then cd ${DIR_NAME} echo -n "* building project ... " -LOG_FILE="mvn-clean-install.log" +LOG_FILE="${TMP_DIR}/mvn-clean-install-${VERSION}.log" mvn clean install -q 2>&1 > "${LOG_FILE}" || { echo "failed" echo @@ -147,7 +147,7 @@ GREMLIN_BATCH_SCRIPT=`find bin/ -name "gremlin*.bat"` echo "OK" echo "* validating ${COMPONENT}'s legal files ... " -for file in "LICENSE" "NOTICE" "DISCLAIMER" +for file in "LICENSE" "NOTICE" do echo -n " * ${file} ... " [ -s ${file} ] || { echo "${file} is not present or empty"; exit 1; }
