From 810ad480da6118075f2d1429d3d1218be837ccc1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 6 Jun 2024 02:43:27 +0100 Subject: 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 --- include/lib.sh | 2 +- 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() { -- cgit v1.2.1