From 909c53528c1ec42e56897b3c574ec93de47dad6a Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Wed, 9 Aug 2023 17:21:09 -0400 Subject: [PATCH] jjb: Correct unbound variable usage error Change-Id: Id3c37316c88738d04d857b203d24e77f987ed627 --- scripts/lttng-modules/param-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index ab604a9..610bf61 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -657,9 +657,9 @@ url_hash="$(echo -n "$kgitrepo" | md5sum | awk '{ print $1 }')" obj_name="linux.tar.bz2" if [ "x${cross_arch}" = "x" ]; then - obj_url_prefix="$OBJ_STORE_URL/linux-build/$url_hash/$ktag/platform-${platform}/$arch/native" + obj_url_prefix="$OBJ_STORE_URL/linux-build/$url_hash/$ktag/platform-${platforms}/$arch/native" else - obj_url_prefix="$OBJ_STORE_URL/linux-build/$url_hash/$ktag/platform-${platform}/${cross_arch}" + obj_url_prefix="$OBJ_STORE_URL/linux-build/$url_hash/$ktag/platform-${platforms}/${cross_arch}" fi obj_url="$obj_url_prefix/$obj_name" -- 2.34.1