[dev-util] Clean up stale workdirs when using cros_workon_make
If the user has previously used FEATURES=noclean or keepwork in emerging his package,
then cros_workon_make will happily use this stale checkout unless --reconf is passed.
We should detect such a stale work dir and for a reconf.
TEST=clear the work dir, FEATURES=noclean emerge-BOARD <package>, cros_workon_make <package>, and then ls -l the work dir to see that there's a symlink in there pointing to the user's source checkout
Reviewed-by: Daniel Erat <email@example.com>
Tested-by: Chris Masone <firstname.lastname@example.org>
1 file changed