Skip to content

Commit

Permalink
Arch linux refuses to accept egrep. Switch to 'grep -E'.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Feb 7, 2023
1 parent aeb8f6d commit bbcc7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ else
esac
fi

if ! echo "${SOURCE_VERSION}" | egrep -i "v[0-9]+.*" ; then
if ! echo "${SOURCE_VERSION}" | grep -Ei "v[0-9]+.*" ; then
# Invalid version - use SRC_VERSION file
echo "WARNING: Invalid source version ${SOURCE_VERSION}, must start with v and a number, will use SRC_VERSION file instead"
. $GITTREEDIR/SRC_VERSION
Expand Down

0 comments on commit bbcc7db

Please sign in to comment.