diff options
author | Leah Rowe <leah@libreboot.org> | 2025-09-11 10:17:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-09-11 10:29:59 +0100 |
commit | 4999a49de39667b3239fc2010d0e99c958b29417 (patch) | |
tree | dfa4897896de0bc0c93c5133052a566b5339c138 /include/mrc.sh | |
parent | 5cfe54b06d74e6392fc7312c41b5ca299704f7ca (diff) |
xbmk: don't use backticks for command substitution
the newer way handles escaped characters better, and it
can be nested more easily. it's also more readable.
personally, i prefer the old way, because it's more
minimalist, but it occurs to me that a lot of people
nowadays don't know about backticks, but they do know
of the modern way.
to make the code more readable, i have modernised it.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rw-r--r-- | include/mrc.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mrc.sh b/include/mrc.sh index 775831f8..5cbf7148 100644 --- a/include/mrc.sh +++ b/include/mrc.sh @@ -4,7 +4,7 @@ # Modifications in this version are Copyright 2021,2023-2025 Leah Rowe. # Original copyright detailed in repo: https://review.coreboot.org/coreboot/ -eval "`setvars "" MRC_url MRC_url_bkup MRC_hash MRC_board SHELLBALL`" +eval "$(setvars "" MRC_url MRC_url_bkup MRC_hash MRC_board SHELLBALL)" extract_refcode() { |