chiark / gitweb /
bin/mdw-build: Force use of `bash' to allow file descriptors >= 10.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 27 Oct 2022 10:36:16 +0000 (11:36 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 27 Oct 2022 10:36:16 +0000 (11:36 +0100)
bin/mdw-build

index 6c034b8b1be2d50ca77233e1838203a465af6f4b..0f3f7a4d802c0222a95c13e55793e36ae3bbc3be 100755 (executable)
@@ -406,7 +406,7 @@ esac
 cat >find-distdir.mk <<'EOF'
 include Makefile
 print-distdir:
-       @echo >&$(fd) $(distdir)
+       @bash -c 'echo >&$(fd) $(distdir)'
 EOF
 assign distdir \
   $({ $make -f find-distdir.mk print-distdir fd=$t >/dev/null 2>&1; } {t}>&1)