This is an automated email from the ASF dual-hosted git repository.
colegreer pushed a commit to branch 3.5-dev
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/3.5-dev by this push:
new 3e6fbe82d0 CTR Fixed validate-distribution.sh
3e6fbe82d0 is described below
commit 3e6fbe82d05ae79825f5479f2e2e1fd57ba614a7
Author: Cole-Greer <[email protected]>
AuthorDate: Mon Jul 31 15:55:09 2023 -0700
CTR Fixed validate-distribution.sh
A bug was found in validate-distribution.sh which caused it to fail
due to the addition of gremlin-console/bin/gremlin-java8.bat.
I will follow this up with a new 3.5.7 release commit which includes
this fix.
---
bin/validate-distribution.sh | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bin/validate-distribution.sh b/bin/validate-distribution.sh
index 5114b41e18..0acca98336 100755
--- a/bin/validate-distribution.sh
+++ b/bin/validate-distribution.sh
@@ -176,7 +176,11 @@ GREMLIN_SHELL_SCRIPT=`find bin/ -name "gremlin*.sh"`
GREMLIN_BATCH_SCRIPT=`find bin/ -name "gremlin*.bat"`
[ ! -z ${GREMLIN_SHELL_SCRIPT} ] && [ -s ${GREMLIN_SHELL_SCRIPT} ] || { echo
"Gremlin shell script is not present or empty"; exit 1; }
-[ ! -z ${GREMLIN_BATCH_SCRIPT} ] && [ -s ${GREMLIN_BATCH_SCRIPT} ] || { echo
"Gremlin batch script is not present or empty"; exit 1; }
+
+for file in `echo "$GREMLIN_BATCH_SCRIPT" | tr '\n' '\n'`
+do
+ [ ! -z ${file} ] && [ -s ${file} ] || { echo "Gremlin batch script is not
present or empty"; exit 1; }
+done
echo "OK"
echo "* validating ${COMPONENT}'s legal files ... "