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)
Sun, Jan 5, 8:12 AM
Unknown Object (File)
Wed, Dec 11, 9:31 PM
Unknown Object (File)
Wed, Dec 11, 3:14 PM
Unknown Object (File)
Nov 28 2024, 6:40 AM
Unknown Object (File)
Nov 27 2024, 9:54 PM
Unknown Object (File)
Oct 21 2024, 1:48 PM
Unknown Object (File)
Oct 5 2024, 6:54 PM
Unknown Object (File)
Oct 5 2024, 11:12 AM
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