This is an automated email from the ASF dual-hosted git repository. gaul pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jclouds-site.git
commit 3bf356c30bd7f04c430291de4e2508fd1f77d8d6 Author: Andrew Gaul <[email protected]> AuthorDate: Sat Sep 11 05:40:06 2021 +0900 Make deployment script compatible with newer Java These include a date in the version string. --- deploy-javadoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-javadoc.sh b/deploy-javadoc.sh index a58f6a0..0653779 100755 --- a/deploy-javadoc.sh +++ b/deploy-javadoc.sh @@ -5,7 +5,7 @@ set -o errexit DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -JAVA_VERSION=`java -version 2>&1 | sed -n ';s/.* version "\(.*\)\.\(.*\)\..*"/\1\2/p;'` +JAVA_VERSION=`java -version 2>&1 | sed -n ';s/.* version "\(.*\)\.\(.*\)\..*".*/\1\2/p;'` if [ "$JAVA_VERSION" -lt "17" ]; then echo "Use Java 1.7+ to generate the Javadoc." exit 1
