From e85c7656ccb908ab0bb6a4fd7706029a51048535 Mon Sep 17 00:00:00 2001 From: Rustmilian <110098609+Rustmilian@users.noreply.github.com> Date: Thu, 11 Jan 2024 15:46:05 -0500 Subject: [PATCH] fgrep: warning: fgrep is obsolescent; using grep -F --- scripts/update_javadocs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"