-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# Copyright (c) 2023. Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
# Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. | ||
# Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. | ||
# Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagittis ligula eget metus. | ||
# Vestibulum commodo. Ut rhoncus gravida arcu. | ||
# | ||
|
||
cat $MCR_MASTER_PATH/VersionInfo.xml | ||
|
||
XMLTAG=release | ||
result=`sed -n "/$XMLTAG/{s/.*<$XMLTAG>//;s/<\/$XMLTAG.*//;p;}" $MCR_MASTER_PATH/VersionInfo.xml` | ||
|
||
echo "Checking MCR version. It must be $1" | ||
if [[ "$result" == "$1" ]]; then | ||
echo "OK" | ||
else | ||
echo -e '\033[31m' "Error. Version found: $result" '\033[0m' | ||
exit 1 | ||
fi | ||
|