This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients madscientist, martin.panter, ned.deily, willingc
Date 2019-03-30.08:55:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553936146.47.0.274454497954.issue36464@roundup.psfhosted.org>
In-reply-to
Content
On Linux, Gnu’s “install” command is happy if the target directory already exists; it just changes the mode (-m) etc. So the race isn’t a big deal.

This is like the race I described (theoretical at the time) at <https://bugs.python.org/issue25696#msg255393>, although that is about $(LIBPC) not $(LIBDIR). I suggested adding a separate target (a bit like Paul’s “make-directories” suggestion; see my -4.patch in that bug), but it didn’t get much support.

A more conservative patch would be a phony target that retains the existing “if / echo / install” logic.
History
Date User Action Args
2019-03-30 08:55:46martin.pantersetrecipients: + martin.panter, ned.deily, madscientist, willingc
2019-03-30 08:55:46martin.pantersetmessageid: <1553936146.47.0.274454497954.issue36464@roundup.psfhosted.org>
2019-03-30 08:55:46martin.panterlinkissue36464 messages
2019-03-30 08:55:46martin.pantercreate