Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
    npro  
 Modern all-safe Rust Network Protocol library supporting h1, h2, h3, ws, wt sans-IO and with socket IO + tls
git clone https://npro.rs/repo/npro
 
root / assets / builder-instance.png
Author[]Andy Green <andy@warmcat.com> 2025-09-14 08:20 UTC
Committer[]Andy Green <andy@warmcat.com> 2025-09-14 08:20 UTC
Treeb1adf1eb671bb096a4dc8030f7c0be2cd4da5937   Raw Patch
 
win: spawn to src subdir if not git_helper
win: spawn to src subdir if not git_helper
diff --git a/src/builder/b-nspawn.c b/src/builder/b-nspawn.c index c28eb4b..c853640 100644 --- a/src/builder/b-nspawn.c +++ b/src/builder/b-nspawn.c @@ -371,7 +371,7 @@ static const char * const runscript_win_first = "set SAI_LOGPROXY_TTY0=%s\n" "set SAI_LOGPROXY_TTY1=%s\n" "set HOME=%s\n" - "cd %s &&" + "cd %s%s &&" " rmdir /s /q build & " "%s < NUL" ; @@ -384,7 +384,7 @@ static const char * const runscript_win_next = "set SAI_LOGPROXY_TTY0=%s\n" "set SAI_LOGPROXY_TTY1=%s\n" "set HOME=%s\n" - "cd %s &&" + "cd %s%s &&" "%s < NUL" ; @@ -524,7 +524,8 @@ saib_spawn_script(struct sai_nspawn *ns) ns->task->parallel ? ns->task->parallel : 1, respath, ns->slp_control.sockpath, ns->slp[0].sockpath, ns->slp[1].sockpath, builder.home, - ns->inp, one_step); + ns->inp, ns->current_step > 1 ? "\\src" : "", + one_step); #else const char *script_template;
Page fetched 0s ago, creation time: 2ms (vhost etag hits: 0%, cache hits: 0%)