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>
This commit is contained in:
Leah Rowe
2024-06-09 15:27:03 +01:00
parent 86eb566b13
commit a0710ef9ca
+2 -1
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
}