mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
[depends] Allow PATH with spaces in directory names.
added test and update code based on feedback
This commit is contained in:
committed by
Alfonso Roman Zubeldia
parent
4baa162dbb
commit
4756114e50
@@ -70,7 +70,7 @@ if [ "$CI_OS_NAME" == "macos" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CI_EXEC () {
|
CI_EXEC () {
|
||||||
$CI_EXEC_CMD_PREFIX bash -c "export PATH=${BINS_SCRATCH_DIR}:${BASE_ROOT_DIR}/ci/retry:\$PATH && cd \"${BASE_ROOT_DIR}\" && $*"
|
$CI_EXEC_CMD_PREFIX bash -c "export PATH=\"/path_with space:${BINS_SCRATCH_DIR}:${BASE_ROOT_DIR}/ci/retry:\$PATH\" && cd \"${BASE_ROOT_DIR}\" && $*"
|
||||||
}
|
}
|
||||||
export -f CI_EXEC
|
export -f CI_EXEC
|
||||||
|
|
||||||
|
|||||||
@@ -139,9 +139,9 @@ $(1)_config_env+=PKG_CONFIG_LIBDIR=$($($(1)_type)_prefix)/lib/pkgconfig
|
|||||||
$(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig
|
$(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig
|
||||||
$(1)_config_env+=PKG_CONFIG_SYSROOT_DIR=/
|
$(1)_config_env+=PKG_CONFIG_SYSROOT_DIR=/
|
||||||
$(1)_config_env+=CMAKE_MODULE_PATH=$($($(1)_type)_prefix)/lib/cmake
|
$(1)_config_env+=CMAKE_MODULE_PATH=$($($(1)_type)_prefix)/lib/cmake
|
||||||
$(1)_config_env+=PATH=$(build_prefix)/bin:$(PATH)
|
$(1)_config_env+=PATH="$(build_prefix)/bin:$(PATH)"
|
||||||
$(1)_build_env+=PATH=$(build_prefix)/bin:$(PATH)
|
$(1)_build_env+=PATH="$(build_prefix)/bin:$(PATH)"
|
||||||
$(1)_stage_env+=PATH=$(build_prefix)/bin:$(PATH)
|
$(1)_stage_env+=PATH="$(build_prefix)/bin:$(PATH)"
|
||||||
|
|
||||||
# Setting a --build type that differs from --host will explicitly enable
|
# Setting a --build type that differs from --host will explicitly enable
|
||||||
# cross-compilation mode. Note that --build defaults to the output of
|
# cross-compilation mode. Note that --build defaults to the output of
|
||||||
|
|||||||
Reference in New Issue
Block a user