move cfgsdir/datadir variables to lib.sh
it's also used from script/roms, in addition to trees move these variables to a common file used everywhere Signed-off-by: Leah Rowe <leah@libreboot.org>audit2-merge1
parent
7d99786a1a
commit
cb446e7d24
|
@ -42,7 +42,7 @@ setvars()
|
|||
}
|
||||
|
||||
eval "$(setvars "" xbmk_release tmpdir _nogit version board boarddir relname \
|
||||
versiondate threads projectname projectsite aur_notice)"
|
||||
versiondate threads projectname projectsite aur_notice cfgsdir datadir)"
|
||||
|
||||
read -r projectname < projectname || :
|
||||
read -r projectsite < projectsite || :
|
||||
|
|
|
@ -9,9 +9,9 @@ set -u -e
|
|||
. "include/lib.sh"
|
||||
. "include/git.sh"
|
||||
|
||||
eval "$(setvars "" xarch cfgsdir 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 datadir)"
|
||||
autoconfargs cmakedir elfdir autogenargs xtree)"
|
||||
|
||||
main()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue