summaryrefslogtreecommitdiff
path: root/configure1.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1993-10-03 19:57:50 +0000
committerRoland McGrath <roland@gnu.org>1993-10-03 19:57:50 +0000
commitca40a313268e6daf596c2f3e3d344470dbb47866 (patch)
tree46f42060a6828b1dc6d37638ba355dada9ea13d4 /configure1.in
parentf854bb66e24af791def8e95b041935722a08624f (diff)
downloademacs-ca40a313268e6daf596c2f3e3d344470dbb47866.tar.gz
In cmds to make src/Makefile, chmod Makefile.new before moving it.
Diffstat (limited to 'configure1.in')
-rwxr-xr-xconfigure1.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure1.in b/configure1.in
index bcc856c5920..5218a22efa9 100755
--- a/configure1.in
+++ b/configure1.in
@@ -1413,8 +1413,9 @@ makefile_command='echo "creating src/Makefile";
' -e '\''s/^ / /'\'' '\
' | sed -n -e '\''/^..*$/p'\'' '\
' > Makefile.new;
+dnl There is a window of lossage if you mv Makefile.new before chmoding it.
+ chmod 444 Makefile.new;
mv -f Makefile.new Makefile;
- chmod 444 Makefile;
rm -f junk.c junk.cpp;
)'
eval `echo $makefile_command`