From 75baf75726f9bfb05a0373b5af01a7cacc6eaa12 Mon Sep 17 00:00:00 2001 From: Guoqiang Ding Date: Fri, 20 Dec 2024 13:58:40 +0800 Subject: [PATCH] packaging: fix the broken usage help Using the plain usage text instead of the bad variable reference. Fixes: #9386 Signed-off-by: Guoqiang Ding --- tools/packaging/guest-image/build_image.sh | 12 ++++++------ tools/packaging/guest-image/build_se_image.sh | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/packaging/guest-image/build_image.sh b/tools/packaging/guest-image/build_image.sh index e6b89fe7fe..c80d6b7abd 100755 --- a/tools/packaging/guest-image/build_image.sh +++ b/tools/packaging/guest-image/build_image.sh @@ -104,12 +104,12 @@ Usage: ${script_name} [options] Options: - --osname=${os_name} - --osversion=${os_version} - --imagetype=${image_type} - --prefix=${prefix} - --destdir=${destdir} - --image_initrd_suffix=${image_initrd_suffix} + --osname=\${os_name} + --osversion=\${os_version} + --imagetype=\${image_type} + --prefix=\${prefix} + --destdir=\${destdir} + --image_initrd_suffix=\${image_initrd_suffix} EOF exit "${return_code}" diff --git a/tools/packaging/guest-image/build_se_image.sh b/tools/packaging/guest-image/build_se_image.sh index a9693685b8..dd97d4a07c 100755 --- a/tools/packaging/guest-image/build_se_image.sh +++ b/tools/packaging/guest-image/build_se_image.sh @@ -27,8 +27,8 @@ Usage: ${script_name} [options] Options: - --builddir=${builddir} - --destdir=${destdir} + --builddir=\${builddir} + --destdir=\${destdir} Environment variables: HKD_PATH (required): a path for a directory which includes at least one host key document