Skip to content

Commit

Permalink
update-mocks: make it a bit easier to tell what step is happening
Browse files Browse the repository at this point in the history
Adding a small explainer before printing the filename makes it a bit
clearer what's going on when parsing make logs
  • Loading branch information
niftynei authored and cdecker committed May 30, 2020
1 parent 76c5759 commit 185fe72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 185fe72

Please sign in to comment.