build/release/src: fix bad variable reference

it's i, not 1

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-01 10:27:14 +01:00
parent 38440153b5
commit d69c231e24
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ copy_files()
if [ ! -f "${i}" ]; then if [ ! -f "${i}" ]; then
rm -Rf "${srcdir}" || \ rm -Rf "${srcdir}" || \
err "copy_files: !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 fi
cp "${i}" "${srcdir}/" || \ cp "${i}" "${srcdir}/" || \
err "copy_files: !cp ${i} ${srcdir}/" err "copy_files: !cp ${i} ${srcdir}/"