Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit 0c94eb4

Browse files
trim minor version from VERSION_ID (#1297)
1 parent e882248 commit 0c94eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script-library/docker-redhat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ else
102102
exit
103103
fi
104104
else
105-
RHEL_COMPAT_VER=$VERSION_ID
105+
RHEL_COMPAT_VER=${VERSION_ID%%.*}
106106
fi
107107
fi
108108

0 commit comments

Comments
 (0)