mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-06 20:47:00 +02:00
run_local_tests.sh: un-break variable quoting
Turns out using ${var@Q} instead of ${var} ends up with paths like /work/foo/'amd64'-usr/... instead of /work/foo/amd64-usr/... which breaks the script. So we revert it. Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
This commit is contained in:
parent
d744d32733
commit
6dd2f203f1
@ -51,10 +51,10 @@ function set_vars() {
|
||||
# Read by the mantle container.
|
||||
# The local directory ("pwd") will be mounted to /work/ in the container.
|
||||
cat > sdk_container/.env <<EOF
|
||||
export QEMU_IMAGE_NAME="/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_production_image.bin"
|
||||
export QEMU_UEFI_BIOS="/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_production_qemu_uefi_efi_code.fd"
|
||||
export QEMU_UPDATE_PAYLOAD="/work/__build__/images/images/${arch@Q}-usr/latest/flatcar_test_update.gz"
|
||||
export PARALLEL_TESTS=${parallel@Q}
|
||||
export QEMU_IMAGE_NAME="/work/__build__/images/images/${arch}-usr/latest/flatcar_production_image.bin"
|
||||
export QEMU_UEFI_BIOS="/work/__build__/images/images/${arch}-usr/latest/flatcar_production_qemu_uefi_efi_code.fd"
|
||||
export QEMU_UPDATE_PAYLOAD="/work/__build__/images/images/${arch}-usr/latest/flatcar_test_update.gz"
|
||||
export PARALLEL_TESTS=${parallel}
|
||||
EOF
|
||||
|
||||
export MAX_RETRIES=5
|
||||
|
Loading…
Reference in New Issue
Block a user