Project

General

Profile

Actions

Bug #13513

closed

Do not use >; in cmd/ast/tools/Makefile

Added by Andy Fiddaman 11 months ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

usr/src/cmd/ast/tools/Makefile uses ksh's >; redirection in an attempt to create the target atomically, and avoid leaving it with partial content.
However, in some circumstances, this does not work and the final rename fails (see #13512).
Note that this does somehow work when running a build with nightly, and often under bldenv (at least in all of the testing I've done for the various ksh changes)

We should just avoid using this construct in the Makefile entirely


Related issues

Related to illumos gate - Bug #13512: ksh's >; is not reliable with `-c'ClosedAndy Fiddaman

Actions
Actions

Also available in: Atom PDF