From a74af6aa0579e6442646713c794c4ecc62902831 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 2 Oct 2025 06:55:29 +0100 Subject: tree.sh: remove superfluous eval statements Signed-off-by: Leah Rowe --- include/tree.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/tree.sh b/include/tree.sh index bfb60eea..8b126240 100644 --- a/include/tree.sh +++ b/include/tree.sh @@ -228,7 +228,9 @@ configure_project() printf "Loading %s config: %s\n" "$project" "$_tcfg" - eval "`setvars "" rev tree`" + rev="" + tree="" + eval "`setcfg "$_tcfg"`" if [ "$_f" = "-d" ]; then @@ -348,7 +350,8 @@ delete_old_project_files() project_up_to_date() { - eval "`setvars "" old_hash hash`" + old_hash="" + hash="" hashdir="$1" hashname="$2" @@ -439,7 +442,12 @@ check_gnu_path() err "Host '$1' unavailable" "check_gnu_path" "$@" fi - eval "`setvars "" gccver gccfull gnatver gnatfull gccdir gnatdir`" + gccver="" + gccfull="" + gnatver="" + gnatfull="" + gccdir="" + gnatdir="" if host_gcc_gnat_match "$@"; then return 0 -- cgit v1.2.1