diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-22 04:06:07 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-22 13:46:20 +0100 |
commit | d4d5d2902c020419057d63c9791804906a6c60dd (patch) | |
tree | b917503650c905f6590d9fedec7ea60023cedc71 /script/trees | |
parent | c1527b6114e94530c50b00ff22ef03ea048e4bd1 (diff) |
use backticks on eval commands, not subshells
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-x | script/trees | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/script/trees b/script/trees index 82c3ce84..7287280d 100755 --- a/script/trees +++ b/script/trees @@ -10,9 +10,9 @@ set -u -e . "include/git.sh" cbmakeargs="UPDATED_SUBMODULES=1 CPUS=$threads" -eval "$(setvars "" xarch cdir config config_name xlang mode makeargs \ +eval `setvars "" xarch cdir config config_name xlang mode makeargs \ listfile project target target_dir targets tree _f target1 bootstrapargs \ - autoconfargs cmakedir elfdir autogenargs xtree)" + autoconfargs cmakedir elfdir autogenargs xtree` main() { @@ -152,8 +152,8 @@ handle_src_tree() load_project_config() { - eval "$(setvars "" xarch xlang tree bootstrapargs autoconfargs xtree \ - tree_depend makeargs)" + eval `setvars "" xarch xlang tree bootstrapargs autoconfargs xtree \ + tree_depend makeargs` eval `setcfg "$1/target.cfg" 0`; return 0 } @@ -272,7 +272,7 @@ check_makefile() mkpayload_grub() { - eval "$(setvars "" grub_modules grub_install_modules)" + eval `setvars "" grub_modules grub_install_modules` eval `setcfg "$grubdata/module/$tree"` chkvars "grub_install_modules" "grub_modules" |