Skip to content

Commit

Permalink
Fix egrep deprecated warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles-Antoine Mathieu committed Aug 6, 2023
1 parent b5bb9ac commit 15154ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/gen_build_info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sh=`git rev-list --pretty=format:%h HEAD --max-count=1 | sed '1s/commit /full_re
eval "$sh" # Sets the full_rev & short_rev variables.

# get git version tag
tag=$(git show-ref --tags | egrep "refs/tags/$version$" | cut -d " " -f1)
tag=$(git show-ref --tags | grep -E "refs/tags/$version$" | cut -d " " -f1)
if [[ $tag = $full_rev ]]; then
isRelease=true
fi
Expand Down Expand Up @@ -133,4 +133,4 @@ if [[ "$output" == "base64" ]]; then
echo $json | base64 | tr -d '\n'
else
echo $json
fi
fi

0 comments on commit 15154ed

Please sign in to comment.