Write the list of FIXMEs to /tmp/FIXMEs as well as the terminal.

This commit is contained in:
Darren 'Tadgy' Austin 2022-08-20 18:06:40 +01:00
commit 769062d4b6

View file

@ -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!"