diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-06 02:43:27 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-06 02:43:27 +0100 |
commit | 810ad480da6118075f2d1429d3d1218be837ccc1 (patch) | |
tree | 75aa0130f86221341fbc61078e9bfefaf397dca2 | |
parent | ba36f26d6266ef6f980ddd9db5237db29d1c7c66 (diff) |
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>
-rwxr-xr-x | include/lib.sh | 2 | ||||
-rwxr-xr-x | script/trees | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/lib.sh b/include/lib.sh index 3ef3e3fe..410d9221 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -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 || : diff --git a/script/trees b/script/trees index d681a870..9fdb568f 100755 --- a/script/trees +++ b/script/trees @@ -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() { |