mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
重命名为 XY_Build_On_xx
This commit is contained in:
@@ -125,7 +125,7 @@ pl_python_uv_setsrc (char *option)
|
||||
|
||||
const char *source_content = xy_str_gsub (RAWSTR_pl_python_uv_config_source_content, "@url@", source.url);
|
||||
|
||||
#if defined(XY_On_macOS) || defined(XY_On_BSD)
|
||||
#if defined(XY_Build_On_macOS) || defined(XY_Build_On_BSD)
|
||||
char *sed_cmd = "sed -i '' ";
|
||||
#else
|
||||
char *sed_cmd = "sed -i ";
|
||||
|
@@ -62,7 +62,7 @@ pl_rust_rustup_setsrc (char *option)
|
||||
{
|
||||
use_this_source(pl_rust_rustup);
|
||||
|
||||
#ifdef XY_On_Windows
|
||||
#ifdef XY_Build_On_Windows
|
||||
|
||||
char *cmd1 = xy_strcat (3, "setx RUSTUP_DIST_SERVER \"", source.url, "\"");
|
||||
char *cmd2 = xy_strcat (3, "setx RUSTUP_UPDATE_ROOT \"", source.url, "/rustup\"");
|
||||
|
Reference in New Issue
Block a user