Skip to content

Commit

Permalink
fgrep: warning: fgrep is obsolescent; using grep -F
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustmilian authored and falhassen committed Jan 30, 2024
1 parent 4b8bb85 commit 2b45470
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update_javadocs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 2b45470

Please sign in to comment.