Skip to content

Commit aef39e1

Browse files
committed
Update fix
1 parent fa29dd5 commit aef39e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/native/init-distro-rid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ initNonPortableDistroRid()
4141
# We have forced __PortableBuild=0. This is because -portablebuld
4242
# has been passed as false.
4343
if (( isPortable == 0 )); then
44-
if [[ "${ID}" = "rhel" || "${ID}" = "rocky" ]]; then
44+
if [ "${ID}" = "rhel" ] || [ "${ID}" = "rocky" ]; then
4545
# remove the last version digit
4646
VERSION_ID="${VERSION_ID%.*}"
4747
fi

0 commit comments

Comments
 (0)