We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b323880 commit 11204b3Copy full SHA for 11204b3
src/dev.sh
@@ -65,7 +65,7 @@ function detect_platform_and_runtime_id ()
65
66
if [ -e /etc/redhat-release ]; then
67
local redhatRelease=$(</etc/redhat-release)
68
- if [[ $redhatRelease == "CentOS release 7."* || $redhatRelease == "Red Hat Enterprise Linux Server release 7."* ]]; then
+ if [[ $redhatRelease == *"release 7."* ]]; then
69
DETECTED_RUNTIME_ID='rhel.7.2-x64'
70
else
71
echo "RHEL supported only for version 7"
0 commit comments