From: Jim Meyering Date: Wed, 18 Dec 1996 01:25:45 +0000 (+0000) Subject: (.pl): Make generated file read-only so X-Git-Tag: FILEUTILS-3_14a~92 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6c4752448111b6502b9a8ffc202c565b122f549b;p=thirdparty%2Fcoreutils.git (.pl): Make generated file read-only so I don't accidentally modify it instead of the one with the .pl suffix. --- diff --git a/tests/join/Makefile.am b/tests/join/Makefile.am index dfed245c56..ec18995dec 100644 --- a/tests/join/Makefile.am +++ b/tests/join/Makefile.am @@ -27,7 +27,9 @@ SUFFIXES = .pl .pl: rm -f $@ $@.tmp - $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@ + $(editpl) $< > $@.tmp + chmod +x-w $@.tmp + mv $@.tmp $@ MAINTAINERCLEANFILES = $x-tests $(in) $(exp) CLEANFILES = $(out) $(err)