Browse Source

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
nifty/pset-pre
niftynei 4 years ago
committed by Christian Decker
parent
commit
185fe722be
  1. 2
      tools/update-mocks.sh

2
tools/update-mocks.sh

@ -18,7 +18,7 @@ function make_binary() {
if [ -n "$START" ]; then if [ -n "$START" ]; then
mv "$FILE" "${BASE}.old" mv "$FILE" "${BASE}.old"
echo "${FILE}:" echo "mocking out ${FILE}:"
head -n "$START" "${BASE}.old" > "$FILE" head -n "$START" "${BASE}.old" > "$FILE"
tail -n +"$END" "${BASE}.old" >> "$FILE" tail -n +"$END" "${BASE}.old" >> "$FILE"
# Try to make binary. # Try to make binary.

Loading…
Cancel
Save