From a0710ef9cac6e9f27852676d1bafa5d8c5f8ac47 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 9 Jun 2024 15:27:03 +0100 Subject: 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 --- include/git.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/git.sh b/include/git.sh index cd0dffa5..3ee27fc6 100755 --- a/include/git.sh +++ b/include/git.sh @@ -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 } -- cgit v1.2.1