summaryrefslogtreecommitdiff
path: root/include/git.sh
diff options
context:
space:
mode:
Diffstat (limited to 'include/git.sh')
-rwxr-xr-xinclude/git.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/git.sh b/include/git.sh
index d13d20d2..a73bdc16 100755
--- a/include/git.sh
+++ b/include/git.sh
@@ -2,7 +2,7 @@
# Copyright (c) 2020-2021,2023-2024 Leah Rowe <leah@libreboot.org>
# Copyright (c) 2022 Caleb La Grange <thonkpeasant@protonmail.com>
-eval `setvars "" _target rev _xm loc url bkup_url depend tree_depend xtree \
+eval `setvars "" _target rev loc url bkup_url depend tree_depend xtree \
mdir subhash subrepo subrepo_bkup subfile subfile_bkup`
fetch_project_trees()
@@ -20,7 +20,6 @@ fetch_config()
eval `setvars "" xtree tree_depend`
while true; do
eval `setvars "" rev tree`
- _xm="fetch_config $project/$_target"
load_target_config "$_target"
[ "$_target" = "$tree" ] && break
_target="$tree"
@@ -31,7 +30,7 @@ fetch_config()
load_target_config()
{
- [ -f "$cfgsdir/$1/seen" ] && $err "$_xm cfg: infinite loop in trees"
+ [ -f "$cfgsdir/$1/seen" ] && $err "$project/$_target: tree loop"
eval `setcfg "$cfgsdir/$1/target.cfg"`
touch "$cfgsdir/$1/seen" || $err "load_config $cfgsdir/$1: !mk seen"
}