mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-13 10:02:46 +08:00
Fix chsrc get nvm
This commit is contained in:
parent
d292c0c3fb
commit
7c7c1ddc00
@ -3,8 +3,9 @@
|
|||||||
* -------------------------------------------------------------
|
* -------------------------------------------------------------
|
||||||
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
* File Authors : Aoran Zeng <ccmywish@qq.com>
|
||||||
* Contributors : Nul None <nul@none.org>
|
* Contributors : Nul None <nul@none.org>
|
||||||
|
* |
|
||||||
* Created On : <2024-09-23>
|
* Created On : <2024-09-23>
|
||||||
* Last Modified : <2024-09-23>
|
* Last Modified : <2025-06-16>
|
||||||
* ------------------------------------------------------------*/
|
* ------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -13,8 +14,8 @@
|
|||||||
void
|
void
|
||||||
pl_nodejs_nvm_getsrc (char *option)
|
pl_nodejs_nvm_getsrc (char *option)
|
||||||
{
|
{
|
||||||
char *cmd = "echo NVM_NODEJS_ORG_MIRROR";
|
char *cmd = "echo $NVM_NODEJS_ORG_MIRROR";
|
||||||
system (cmd);
|
chsrc_run (cmd, RunOpt_Dont_Notify_On_Success|RunOpt_No_Last_New_Line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user