summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/ninja.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/ninja.scm b/gnu/packages/ninja.scm
index 779b6ab673..5a168a6ada 100644
--- a/gnu/packages/ninja.scm
+++ b/gnu/packages/ninja.scm
@@ -47,8 +47,9 @@
          (replace 'configure
            (lambda _
              (substitute* "src/subprocess-posix.cc"
-               (("/bin/echo") (which "echo"))
                (("/bin/sh") (which "sh")))
+             (substitute* "src/subprocess_test.cc"
+               (("/bin/echo") (which "echo")))
              #t))
          (replace 'build
            (lambda _