From d69c231e2424877c1901afb91a2b26e099a44578 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 1 Sep 2023 10:27:14 +0100 Subject: [PATCH] build/release/src: fix bad variable reference it's i, not 1 Signed-off-by: Leah Rowe --- script/build/release/src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build/release/src b/script/build/release/src index 27eb8fe9..ebcd83fe 100755 --- a/script/build/release/src +++ b/script/build/release/src @@ -107,7 +107,7 @@ copy_files() if [ ! -f "${i}" ]; then rm -Rf "${srcdir}" || \ err "copy_files: !rm -Rf ${srcdir}" - err "copy_files: file '${1}' does not exist" + err "copy_files: file '${i}' does not exist" fi cp "${i}" "${srcdir}/" || \ err "copy_files: !cp ${i} ${srcdir}/"