From: Mark Wooding Date: Sun, 10 May 2020 13:51:05 +0000 (+0100) Subject: bin/mdw-build: Don't assign `$srcpath' until after `checkout'. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/be2a23145689a47546e3ccad9f6abe60d7f55bcd?hp=be2a23145689a47546e3ccad9f6abe60d7f55bcd bin/mdw-build: Don't assign `$srcpath' until after `checkout'. Otherwise we end up printing two `--- srcpath = ...' lines in the common `checkout' case, which is just silly. Instead: * set `$srcpath' in the `checkout' stanza, either pointing the new tree or back at the original one; and * use `$topath' for the original source tree until we've established `$srcpath'. ---