mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
build_library/build_image_util: Fix local exporting
Apparently `local -x FOO` does not locally export an already existing variable, but rather does some whole weird lot of nothing - it shadows an existing variable with a new unset one, but it won't export it until it gets assigned.
This commit is contained in:
parent
653fd94dbe
commit
d4db435dd9
@ -95,7 +95,7 @@ zip_update_tools() {
|
||||
|
||||
info "Generating update tools zip"
|
||||
# Make sure some vars this script needs are exported
|
||||
local -x REPO_MANIFESTS_DIR SCRIPTS_DIR
|
||||
local -x REPO_MANIFESTS_DIR=${REPO_MANIFESTS_DIR} SCRIPTS_DIR=${SCRIPTS_DIR}
|
||||
"${BUILD_LIBRARY_DIR}/generate_au_zip.py" \
|
||||
--arch "$(get_sdk_arch)" --output-dir "${BUILD_DIR}" --zip-name "${update_zip}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user