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
This commit is contained in:
niftynei 2020-05-29 16:15:26 -05:00 committed by Christian Decker
parent 76c57595c3
commit 185fe722be
1 changed files with 1 additions and 1 deletions

View File

@ -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.