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

Details

Provenance
stevekAuthored on Nov 15 2023, 12:38 AM
Reviewer
sjg
Differential Revision
D42608: zoneinfo: fix makefile rules script
Parents
rG8ef8939fd458: bcm2835/spi: Support SPI_FLAG_KEEP_CS
Branches
Unknown
Tags
Unknown