We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
chsrc get rustup
1 parent 7c7c1dd commit a86ed49Copy full SHA for a86ed49
src/recipe/lang/Rust/rustup.c
@@ -5,7 +5,7 @@
5
* Contributors : Yangmoooo <[email protected]>
6
* |
7
* Created On : <2024-10-02>
8
- * Last Modified : <2024-12-18>
+ * Last Modified : <2025-06-16>
9
* ------------------------------------------------------------*/
10
11
static SourceProvider_t pl_rust_binary_upstream =
@@ -36,10 +36,10 @@ def_sources_n(pl_rust_rustup);
36
void
37
pl_rust_rustup_getsrc (char *option)
38
{
39
- char *cmd = "echo RUSTUP_UPDATE_ROOT;"
40
- "echo RUSTUP_DIST_SERVER;";
+ char *cmd = "echo $RUSTUP_UPDATE_ROOT; "
+ "echo $RUSTUP_DIST_SERVER;";
41
42
- system (cmd);
+ chsrc_run (cmd, RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line);
43
}
44
45
0 commit comments