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

12 lines
562 B
Diff
Raw Normal View History

2021-12-19 01:03:55 +01: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