Unfortunately it failed before the previous patch, so that's why this test is needed :( The test is a little ugly, because the bug I'm testing for didn't happen except if you ran 'redo' two times in a row, not two times inside the same redo session. That's because dependency caching inside the one session prevents the accidental rebuild.
3 lines
111 B
Bash
3 lines
111 B
Bash
echo "Flushing redo cache..." >&2
|
|
find "$REDO_BASE/.redo" -name 'built^*' -o -name 'mark^*' |
|
|
xargs rm -f >&2
|