dev tools: Fix regression introduced in commit "Print the test data to stdout for convenience.".

tee(1) truncated $fname.  Fortunately, the data that got truncated had just
been `git add`-ed, so no harm was done.
This commit is contained in:
Daniel Shahaf 2020-01-11 20:49:12 +00:00
parent 8b2768ab40
commit c0ad50e645
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ fi
git add -- $fname
# Buffer
exec > >(tee $fname)
exec > >(tee -a $fname)
print -n 'BUFFER='
if [[ $buffer != (#s)[$'\t -~']#(#e) ]]; then
print -r -- ${(qqqq)buffer}