From 67359835ebc10947b4c5accf652bd36c71a74f6e Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Tue, 30 Apr 2019 19:29:15 -0400 Subject: [PATCH] Have setup_environment.sh remove emulator.img files for trezor and keepkey --- test/setup_environment.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/setup_environment.sh b/test/setup_environment.sh index f32eeaf..33ace75 100755 --- a/test/setup_environment.sh +++ b/test/setup_environment.sh @@ -39,6 +39,8 @@ if [ "$trezor_setup_needed" == true ] ; then pipenv install fi pipenv run script/cibuild +# Delete any emulator.img file +find . -name "emulator.img" -exec rm {} \; cd .. # Clone coldcard firmware if it doesn't exist, or update it if it does @@ -144,6 +146,8 @@ cd ../../../ export PATH=$PATH:`pwd`/nanopb/generator pipenv run cmake -C cmake/caches/emulator.cmake . -DNANOPB_DIR=nanopb/ -DKK_HAVE_STRLCAT=OFF -DKK_HAVE_STRLCPY=OFF pipenv run make -j$(nproc) kkemu +# Delete any emulator.img file +find . -name "emulator.img" -exec rm {} \; cd .. # Clone bitcoind if it doesn't exist, or update it if it does