diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-17 05:06:21 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-17 05:06:21 +0100 |
commit | 410fa702c9cf3b107b5e92379ace85e05c06603a (patch) | |
tree | 85348f3518c1046a323dcd15912be90ab5cb88ef | |
parent | 075902c3ea770985ee093dee3dc2252501dd37a7 (diff) |
mrc.sh: Make proper use of variable inside printf
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/mrc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mrc.sh b/include/mrc.sh index a5f1b37c..6e00292b 100644 --- a/include/mrc.sh +++ b/include/mrc.sh @@ -35,8 +35,8 @@ extract_partition() dd if="${1%.zip}" of="root-a.ext2" bs=1024 skip=$(( $START / 1024 )) \ count=$(( $SIZE / 1024 )) || $err "ex dd ${1%.zip}, root-a.ext2" - printf "cd /usr/sbin\ndump chromeos-firmwareupdate $SHELLBALL\nquit" \ - | debugfs "root-a.ext2" || $err "can't extract shellball" + printf "cd /usr/sbin\ndump chromeos-firmwareupdate %s\nquit" \ + "$SHELLBALL" | debugfs "root-a.ext2" || $err "!extract shellball" } extract_refcode() |