aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-21 17:10:46 +0200
committerGaëtan Gilbert2019-07-21 17:10:46 +0200
commit9b929e16b1123674c737c1cef2002f5a3c3f2d39 (patch)
treed2cb7b69d44eecd265089f1512f7afb2b4db7c0c
parentf1206ec5d6c6d7f557ec6802e64b41d82fc806f8 (diff)
Dune: do not use with-outputs-to for shims
We only want stdout, so if there's something in stderr it will both make a wrong output and make it harder to debug.
-rw-r--r--dev/shim/dune8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/shim/dune b/dev/shim/dune
index e307848292..84b2e642e8 100644
--- a/dev/shim/dune
+++ b/dev/shim/dune
@@ -4,7 +4,7 @@
%{bin:coqtop}
%{project_root}/theories/Init/Prelude.vo)
(action
- (with-outputs-to coqtop-prelude
+ (with-stdout-to coqtop-prelude
(progn
(echo "#!/usr/bin/env bash\n")
(bash "echo \"$(pwd)/%{bin:coqtop} -coqlib $(pwd)/%{project_root}\" \\$@")
@@ -16,7 +16,7 @@
%{bin:coqc}
%{project_root}/theories/Init/Prelude.vo)
(action
- (with-outputs-to coqc-prelude
+ (with-stdout-to coqc-prelude
(progn
(echo "#!/usr/bin/env bash\n")
(bash "echo \"$(pwd)/%{bin:coqc} -coqlib $(pwd)/%{project_root}\" \\$@")
@@ -29,7 +29,7 @@
%{lib:coq.kernel:../../stublibs/dllbyterun_stubs.so}
%{project_root}/theories/Init/Prelude.vo)
(action
- (with-outputs-to %{targets}
+ (with-stdout-to %{targets}
(progn
(echo "#!/usr/bin/env bash\n")
(bash "echo \"$(pwd)/%{bin:coqtop.byte} -coqlib $(pwd)/%{project_root}\" \\$@")
@@ -45,7 +45,7 @@
%{project_root}/coqide-server.install
%{project_root}/coqide.install)
(action
- (with-outputs-to coqide-prelude
+ (with-stdout-to coqide-prelude
(progn
(echo "#!/usr/bin/env bash\n")
(bash "echo \"$(pwd)/%{bin:coqide} -coqlib $(pwd)/%{project_root}\" \\$@")