ci: build: fix escaping of export variable in message

Fixes an issue in commit 99dcb0e625 ("gitlab:build: Add option to export
staging rootfs for debugging") where the CI_BUILD_EXPORT_STAGING_ROOTFS
variable was not properly escaped in the export message.

Fixes: PCF-2201
Reported-by: Lu Dai <lu.dai@mind.be>
Fixes: 99dcb0e625 ("gitlab:build: Add option to export staging rootfs for debugging")
Signed-off-by: Petr Štetiar <petr.stetiar@prplfoundation.org>
This commit is contained in:
Petr Štetiar 2025-11-15 08:16:08 +00:00
parent b69bdde013
commit e5ae0a5103
No known key found for this signature in database
GPG Key ID: 58EE120F30CC02D3

View File

@ -132,7 +132,7 @@
tar cfJ "rootfs-debug.tar.xz" -C "$root_dir" .
echo "Export of staging_dir/root-* completed in rootfs-debug.tar.xz"
else
echo "Skipping export of staging/root-* as `CI_BUILD_EXPORT_STAGING_ROOTFS` is not set."
echo "Skipping export of staging/root-* as \$CI_BUILD_EXPORT_STAGING_ROOTFS is not set."
fi
- section_end "export-rootfs"
- rm .build_failed