diff --git a/src/recipe/lang/Node.js/Bun.c b/src/recipe/lang/Node.js/Bun.c index 8162c39..3d553b3 100644 --- a/src/recipe/lang/Node.js/Bun.c +++ b/src/recipe/lang/Node.js/Bun.c @@ -26,7 +26,7 @@ pl_nodejs_bun_getsrc (char *option) void pl_nodejs_bun_setsrc (char *option) { - char *chsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Manual; + char *setsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Manual; chsrc_yield_source (pl_nodejs); char *file = xy_strjoin(3, "[install]\n" @@ -35,7 +35,7 @@ pl_nodejs_bun_setsrc (char *option) chsrc_note2 (xy_strjoin (3, "请您手动写入以下内容到 ", xy_uniform_path ("~/.bun/bunfig.toml"), " 文件中:")); puts (file); - chsrc_conclude (&source, chsrc_type); + chsrc_conclude (&source, setsrc_type); } diff --git a/src/recipe/lang/Python/Python.c b/src/recipe/lang/Python/Python.c index e412258..e4647ee 100644 --- a/src/recipe/lang/Python/Python.c +++ b/src/recipe/lang/Python/Python.c @@ -45,7 +45,7 @@ pl_python_setsrc (char *option) chsrc_note2 (msg); } - char *chsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Auto; + char *setsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Auto; bool pdm_exist = false, poetry_exist = false; @@ -71,7 +71,7 @@ pl_python_setsrc (char *option) pl_python_pdm_setsrc (option); } - chsrc_conclude (&source, chsrc_type); + chsrc_conclude (&source, setsrc_type); } void diff --git a/src/recipe/lang/Ruby.c b/src/recipe/lang/Ruby.c index fa01332..e2a0976 100644 --- a/src/recipe/lang/Ruby.c +++ b/src/recipe/lang/Ruby.c @@ -60,7 +60,7 @@ pl_ruby_remove_gem_source (const char *source) void pl_ruby_setsrc (char *option) { - char *chsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Auto; + char *setsrc_type = xy_streql (option, SetsrcType_Reset) ? SetsrcType_Reset : SetsrcType_Auto; chsrc_ensure_program ("gem"); @@ -85,7 +85,7 @@ pl_ruby_setsrc (char *option) cmd = xy_strjoin (4, "bundle config", where, "'mirror.https://rubygems.org' ", source.url); chsrc_run (cmd, RunOpt_No_Last_New_Line); - chsrc_conclude (&source, chsrc_type); + chsrc_conclude (&source, setsrc_type); } void diff --git a/src/recipe/template.c b/src/recipe/template.c index 356985e..f7c1bde 100644 --- a/src/recipe/template.c +++ b/src/recipe/template.c @@ -81,7 +81,7 @@ void /* 具体的换源步骤,如调用第三方命令... */ // 最后总结输出 - chsrc_conclude (&source, chsrc_type); + chsrc_conclude (&source, setsrc_type); }