HomeFreeBSD

zoneinfo: fix makefile rules script

Description

zoneinfo: fix makefile rules script

In make target rules, one needs to use subshell if there are
change directory commands that should only have an effect on the
other commands in the same line. Otherwise, if make is not running in
compatibility mode (for example, when -j flag is specified), commands
would be executed in a single shell and lines following the "cd" might
not work as expected.

Adjust the target script lines that use "cd" to run in a subshell
by adding appropriate parenthesis.

Reviewed by: sjg
Differential Revision: https://reviews.freebsd.org/D42608

(cherry picked from commit fa08011a521c1f15ca44d6a4f30a318d0a37a3a7)

Details

Provenance
stevekAuthored on Nov 15 2023, 12:38 AM
emasteCommitted on Thu, Apr 24, 2:01 PM
Reviewer
sjg
Differential Revision
D42608: zoneinfo: fix makefile rules script
Parents
rGb48ad95e67f2: netinet: Make ip.h self-contained
Branches
Unknown
Tags
Unknown