From d32742bb25d17dfcc21afbe9c011aa5057cac369 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Mon, 24 Oct 2022 13:30:18 -0400 Subject: [PATCH] Make "format" recipe less verbose --- tools/bin/td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/bin/td b/tools/bin/td index a73cf30..a61851a 100644 --- a/tools/bin/td +++ b/tools/bin/td @@ -110,7 +110,6 @@ recipe_run() { # build recipe. recipe_clean() { rm -rv build - find . -name '*.orig' -delete } # Format the source code by updating the copyright headers and @@ -121,7 +120,7 @@ recipe_format() { srcHeader=$(grep -n -m 1 '^ \*/' "$src" | cut -d ':' -f 1) head "-n$srcHeader" "$src" | diff -u -p - LICENSE.txt | - patch "$src" + patch "$src" | grep -v "^Hmm" # Format the source code if indent "$src"; then