tidy up some setvars lists

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-28 14:59:52 +01:00
parent ed3cce84bc
commit 3f37c3788b
3 changed files with 7 additions and 7 deletions

View File

@ -2,8 +2,8 @@
# Copyright (c) 2020-2021,2023-2024 Leah Rowe <leah@libreboot.org> # Copyright (c) 2020-2021,2023-2024 Leah Rowe <leah@libreboot.org>
# Copyright (c) 2022 Caleb La Grange <thonkpeasant@protonmail.com> # Copyright (c) 2022 Caleb La Grange <thonkpeasant@protonmail.com>
eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree \ eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree mdir \
mdir subhash subrepo subrepo_bkup subfile subfile_bkup` subhash subrepo subrepo_bkup subfile subfile_bkup`
fetch_project_trees() fetch_project_trees()
{ {

View File

@ -36,8 +36,8 @@ chkvars()
done; return 0 done; return 0
} }
eval `setvars "" _nogit board relname versiondate projectsite \ eval `setvars "" _nogit board xbmk_parent versiondate projectsite projectname \
projectname aur_notice cfgsdir datadir version xbmk_parent` aur_notice cfgsdir datadir version relname`
for fv in projectname projectsite version versiondate; do for fv in projectname projectsite version versiondate; do
eval "[ ! -f "$fv" ] || read -r $fv < \"$fv\" || :" eval "[ ! -f "$fv" ] || read -r $fv < \"$fv\" || :"

View File

@ -10,9 +10,9 @@ set -u -e
. "include/git.sh" . "include/git.sh"
cbmakeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS" cbmakeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS"
eval `setvars "" xarch cdir config config_name xlang mode makeargs \ eval `setvars "" xarch cdir config cmakedir xlang mode makeargs elfdir xtree \
elfdir project target target_dir targets tree _f target1 bootstrapargs \ project target target_dir targets tree _f target1 bootstrapargs mkhelper \
autoconfargs cmakedir listfile autogenargs xtree btype mkhelper` autoconfargs config_name listfile autogenargs btype`
main() main()
{ {