Skip to content

Commit

Permalink
Add clearer comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ccmywish committed Dec 18, 2024
1 parent c15dfce commit 716589f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/recipe/os/YUM/openEuler.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ os_openeuler_setsrc (char *option)

// 替换 baseurl=<<URL>>/openEuler-xx.xx/...
// openEuler-xx.xx 为 openEuler 版本号
// sed -E 's!^baseurl=.*?/openEuler-([^/]+)!baseurl=source.url/openEuler-\1/!g' OS_openEuler_SourceList
// sed -E 's!^baseurl=.*?/openEuler-([^/]+)!baseurl=$(source.url)/openEuler-\1/!g' OS_openEuler_SourceList
char* cmd = xy_strjoin (6, "sed ",
"-i -E 's!^baseurl=.*?/openEuler-([^/]+)!baseurl=",
source.url,
Expand Down

0 comments on commit 716589f

Please sign in to comment.