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 fa29dd5 commit aef39e1Copy full SHA for aef39e1
eng/native/init-distro-rid.sh
@@ -41,7 +41,7 @@ initNonPortableDistroRid()
41
# We have forced __PortableBuild=0. This is because -portablebuld
42
# has been passed as false.
43
if (( isPortable == 0 )); then
44
- if [[ "${ID}" = "rhel" || "${ID}" = "rocky" ]]; then
+ if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ]; then
45
# remove the last version digit
46
VERSION_ID="${VERSION_ID%.*}"
47
fi
0 commit comments