git.sh: hide e() output on for loop

this for loop is a hack to make sure that all the
sources get nuked (using nuke.list files).

hide the messages so that they do not appear when
running just any command in the trees script.

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-09 15:27:03 +01:00 committed by Leah Rowe
parent e51eae0d25
commit b6dc23bc67
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,8 @@ fetch_project_repo()
clone_project
for x in config/git/*; do
[ -f "$x" ] && nuke "${x##*/}" "src/${x##*/}"; continue
[ -f "$x" ] && nuke "${x##*/}" "src/${x##*/}" 2>/dev/null; \
continue
done
}