From 769062d4b67c08e1bb851609ec9349b136e17780 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 20 Aug 2022 18:06:40 +0100 Subject: [PATCH] Write the list of FIXMEs to /tmp/FIXMEs as well as the terminal. --- bootstrap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap b/bootstrap index c0ed509..6540966 100755 --- a/bootstrap +++ b/bootstrap @@ -184,9 +184,9 @@ rm -rf /etc/nntpserver /etc/lilo.conf_example rm -rf /usr/{local/games,local/man/cat*,man/cat*} /var/man # Finally, check for FIXMEs. -echo "-> There may be some FIXMEs to attend to:" -while IFS=$'\n' read -r ITEM; do - echo " -> $ITEM" -done < <(grep -R FIXME /etc | egrep -v "^/etc/(\.git|file|magic|misc)") +( echo "-> There may be some FIXMEs to attend to (also written to /tmp/FIXMEs):" + while IFS=$'\n' read -r ITEM; do + echo " -> $ITEM" + done < <(grep -R FIXME /etc | egrep -v "^/etc/(\.git|file|magic|misc)") 2>&1) | tee /tmp/FIXMEs echo "-> Bootstrap complete!"