MCPcopy Create free account
hub / github.com/boostorg/build / prepend_path_variable_command

Function prepend_path_variable_command

v2/tools/common.py:528–534  ·  view source on GitHub ↗

Returns a command that prepends the given paths to the named path variable on the current platform.

(variable, paths)

Source from the content-addressed store, hash-verified

526 return variable_setting_command(variable, sep.join(paths))
527
528def prepend_path_variable_command(variable, paths):
529 """
530 Returns a command that prepends the given paths to the named path variable on
531 the current platform.
532 """
533 return path_variable_setting_command(variable,
534 paths + os.environ.get(variable, "").split(os.pathsep))
535
536def file_creation_command():
537 """

Callers

nothing calls this directly

Calls 2

getMethod · 0.80

Tested by

no test coverage detected