1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-05 13:01:12 +00:00
trezor-firmware/ci/hardware_tests/get_trezor_path.sh

10 lines
173 B
Bash
Raw Normal View History

2020-09-03 09:11:21 +00:00
#!/usr/bin/env bash
if [ $# -ne 1 ]
then
echo "Usage: $0 [model]"
exit 1
fi
nix-shell --run "pipenv run trezorctl list | grep '$1' | cut -d' ' -f1 | tr -d '\n'"