From 185fe722be148927a3fb4764147bd933ae0b3e4e Mon Sep 17 00:00:00 2001 From: niftynei Date: Fri, 29 May 2020 16:15:26 -0500 Subject: [PATCH] update-mocks: make it a bit easier to tell what step is happening Adding a small explainer before printing the filename makes it a bit clearer what's going on when parsing make logs --- tools/update-mocks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/update-mocks.sh b/tools/update-mocks.sh index 25b4d6812..00c63afbb 100755 --- a/tools/update-mocks.sh +++ b/tools/update-mocks.sh @@ -18,7 +18,7 @@ function make_binary() { if [ -n "$START" ]; then mv "$FILE" "${BASE}.old" - echo "${FILE}:" + echo "mocking out ${FILE}:" head -n "$START" "${BASE}.old" > "$FILE" tail -n +"$END" "${BASE}.old" >> "$FILE" # Try to make binary.