1929871d16
Change-Id: I96c1e26af6aaefa26b164ed9dd9ff0e29fb702af
9 lines
309 B
Plaintext
9 lines
309 B
Plaintext
function tools_dir {
|
|
local tools_dir=$(dirname "${BASH_SOURCE[0]}")
|
|
PATH=${CI_TOOLS_ORIGINAL_PATH:-${PATH}} "${tools_dir}/realpath" "${tools_dir}"
|
|
}
|
|
|
|
export CI_TOOLS_DIR=${CI_TOOLS_DIR:-$(tools_dir)}
|
|
export CI_TOOLS_ORIGINAL_PATH=${CI_TOOLS_ORIGINAL_PATH:-${PATH}}
|
|
export PATH=${CI_TOOLS_DIR}:${PATH}
|