Refine macro name

This commit is contained in:
Aoran Zeng
2024-08-23 07:50:53 +08:00
parent 3c0aca3b86
commit 9fde99519b
2 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ os_rockylinux_setsrc (char *option)
chsrc_yield_source_and_confirm (os_rockylinux);
char *version_str = xy_run ("sed -nr 's/ROCKY_SUPPORT_PRODUCT_VERSION=(.*)/\\1/p' " ETC_os_release, 0, NULL);
char *version_str = xy_run ("sed -nr 's/ROCKY_SUPPORT_PRODUCT_VERSION=(.*)/\\1/p' " ETC_OS_RELEASE, 0, NULL);
version_str = xy_str_delete_suffix (version_str, "\n");
double version = atof (version_str);