tags 1058552 patch
thanks

Here is a patch that fixes the build:

From: James Valleroy <jvalle...@mailbox.org>
Date: Sun, 11 Feb 2024 07:40:16 -0500
Subject: Use a temp file for package.json contents

---
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c9e03c2..4cbfec9 100644
--- a/Makefile
+++ b/Makefile
@@ -77,7 +77,9 @@ install:

 package.json: src/package.js
        @rm -f $@
-       node src/package.js > $@
+       TEMPFILE=mktemp
+       node src/package.js > "$TEMPFILE"
+       mv "$TEMPFILE" $@
        @chmod a-w $@

 clean:

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to