diff --git a/scripts/update_javadocs.sh b/scripts/update_javadocs.sh index 76380eab20..b3d8ce81b5 100755 --- a/scripts/update_javadocs.sh +++ b/scripts/update_javadocs.sh @@ -9,8 +9,8 @@ set -o pipefail TEMP_DIR="/tmp/tmp_glide_javadoc" JAVADOC_GH_PAGES_DIR="javadocs" -major_version=$(fgrep VERSION_MAJOR gradle.properties | cut -d '=' -f 2) -minor_version=$(fgrep VERSION_MINOR gradle.properties | cut -d '=' -f 2) +major_version=$(grep -F VERSION_MAJOR gradle.properties | cut -d '=' -f 2) +minor_version=$(grep -F VERSION_MINOR gradle.properties | cut -d '=' -f 2) version="${major_version}${minor_version}0" echo "Updating javadocs for ${version}"