1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 03:18:09 +00:00
trezor-firmware/tests/upgrade_tests/download_emulators.sh
2019-08-26 16:02:06 +02:00

10 lines
373 B
Bash
Executable File

#!/bin/bash
SITE="https://firmware.corp.sldev.cz/upgrade_tests/"
cd "$(dirname "$0")"
# download all emulators without index files, without directories and only if not present
wget --no-verbose --no-clobber --no-parent --cut-dirs=2 --no-host-directories --recursive --reject "index.html*" -P emulators/ $SITE
# TODO: is this a good idea?
chmod u+x emulators/trezor-emu-*