You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/tests/download_emulators.sh

13 lines
458 B

#!/usr/bin/env 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 -e robots=off --no-verbose --no-clobber --no-parent --cut-dirs=2 --no-host-directories --recursive --reject "index.html*" -P emulators/ $SITE
chmod u+x emulators/trezor-emu-*
if [ -f /etc/NIXOS ]; then
cd emulators && nix-shell --run "autoPatchelf trezor-emu*"
fi