summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-01 10:27:14 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-01 10:27:14 +0100
commitd69c231e2424877c1901afb91a2b26e099a44578 (patch)
treeabb95a231c93fd6c9dec4a5a31607af261356cb2 /script/build
parent38440153b5bfda3c903a25d0b4a8811aa0fcef82 (diff)
build/release/src: fix bad variable reference
it's i, not 1 Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/release/src2
1 files changed, 1 insertions, 1 deletions
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}/"