travis: Don't copy files into .bm-work/
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 15:42:48 +0000 (09:42 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 11 Apr 2020 01:22:45 +0000 (21:22 -0400)
commitf08c8ef9b7d7cf8bbdb744636f64515ac072569d
tree98e5b3c1397dd49d802db95a1979f95ac2e5c75b
parent4e9162d519c83812624c327731048a93631dc194
travis: Don't copy files into .bm-work/

At present if TEST_PY_BD is empty the script copies various files into a
directory, to no purpose. This happens because UBOOT_TRAVIS_BUILD_DIR is
set before TEST_PY_BD is tested.

Move the 'if' to fix this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
.travis.yml