fix regression

This commit is contained in:
illiliti 2020-09-06 09:58:48 +03:00
parent 149b88625d
commit bfc17ca23a

View File

@ -25,7 +25,7 @@
for opt; do case "${opt%%=*}" in for opt; do case "${opt%%=*}" in
key | header) key | header)
copy_file "${opt#*=}" "/root/${opt%%=*}" 400 0 copy_file "${opt#*=}" /root 400 0
sed "s|${opt#*=}|/root/${opt%%=*}|" \ sed "s|${opt#*=}|/root/${opt%%=*}|" \
"${tmpdir}/etc/tinyramfs/config" > "${tmpdir}/_" "${tmpdir}/etc/tinyramfs/config" > "${tmpdir}/_"