termux-packages/packages/gauche/libsrc-gauche-process.scm.p...

12 lines
562 B
Diff
Raw Permalink Normal View History

2021-12-19 00:03:55 +00:00
--- a/libsrc/gauche/process.scm
+++ b/libsrc/gauche/process.scm
@@ -880,7 +880,7 @@
[else (error "Invalid :error argument:" stderr)])))
(cond [(string? command)
(rc (cond-expand [gauche.os.windows `("cmd.exe" "/c" ,command)]
- [else `("/bin/sh" "-c" ,command)]))]
+ [else `("@TERMUX_PREFIX@/bin/sh" "-c" ,command)]))]
[(and (list? command) (every list? command))
(apply run-pipeline command
:input stdin :output stdout