Skip to content

Commit

Permalink
Update fix
Browse files Browse the repository at this point in the history
  • Loading branch information
clamp03 committed Oct 13, 2021
1 parent fa29dd5 commit aef39e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/native/init-distro-rid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ initNonPortableDistroRid()
# We have forced __PortableBuild=0. This is because -portablebuld
# has been passed as false.
if (( isPortable == 0 )); then
if [[ "${ID}" = "rhel" || "${ID}" = "rocky" ]]; then
if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ]; then
# remove the last version digit
VERSION_ID="${VERSION_ID%.*}"
fi
Expand Down

0 comments on commit aef39e1

Please sign in to comment.