Page MenuHomeFreeBSD

zoneinfo: fix makefile rules script
ClosedPublic

Authored by stevek on Nov 15 2023, 12:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 11:41 PM
Unknown Object (File)
Sat, Apr 20, 9:59 AM
Unknown Object (File)
Mon, Apr 8, 2:07 AM
Unknown Object (File)
Thu, Apr 4, 11:49 PM
Unknown Object (File)
Mar 31 2024, 1:45 PM
Unknown Object (File)
Mar 9 2024, 9:36 PM
Unknown Object (File)
Feb 10 2024, 10:59 AM
Unknown Object (File)
Dec 28 2023, 7:26 PM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable