mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Minor fix for astyle-code.sh compatibility with macOS grep
(cherry picked from commit 82206ebeaac285d68add1042e1f151857e67e53b)
This commit is contained in:
parent
d0d3917ba1
commit
1c6ec627f2
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ if [ -z "$ASTYLE_BIN" ]; then
|
|||
ASTYLE_BIN="./astyle.$ASTYLE_SUFFIX"
|
||||
fi
|
||||
|
||||
ASTYLE_VERSION=$($ASTYLE_BIN --version | grep -o -e "[[:digit:]\.]*")
|
||||
ASTYLE_VERSION=$($ASTYLE_BIN --version | grep -o -e "[[:digit:]\.]*$")
|
||||
|
||||
if [ "$ASTYLE_VERSION" != "$OUR_ASTYLE_VERSION" ]; then
|
||||
echo "ERROR: $ASTYLE_BIN has version $ASTYLE_VERSION, but we want $OUR_ASTYLE_VERSION"
|
||||
|
|
Loading…
Reference in a new issue