diff --git a/build-dist-ledger b/build-dist-ledger index c62d0297..22959902 100755 --- a/build-dist-ledger +++ b/build-dist-ledger @@ -35,6 +35,7 @@ echo -e "\e[32mBuilding into \e[93m$DEST_DIR\e[32m with checkpoint \e[93m$CHECKP echo -e "\e[33mCopying files and creating directories...\e[0m" rm -rf $DEST_DIR cp -Rf $ROOT_DIR/dist/ledger $DEST_DIR +rm $DEST_DIR/.gitignore rm -rf $FIRMWARE_DIR mkdir -p $FIRMWARE_DIR diff --git a/build-dist-sgx b/build-dist-sgx index 31052197..61f347a2 100755 --- a/build-dist-sgx +++ b/build-dist-sgx @@ -33,6 +33,7 @@ echo -e "\e[32mBuilding into \e[93m$DEST_DIR\e[32m with checkpoint \e[93m$CHECKP echo -e "\e[33mCopying files and creating directories...\e[0m" rm -rf $DEST_DIR cp -Rf $ROOT_DIR/dist/sgx $DEST_DIR +rm $DEST_DIR/.gitignore rm -rf $BIN_DIR mkdir -p $BIN_DIR