File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function getTestBridgeVersion(): string
2323 if (!($ ver = getenv ('TREZOR_BRIDGE_VERSION ' ))) {
2424 throw new \RuntimeException ("Missing TREZOR_BRIDGE_VERSION " );
2525 }
26- return $ ver ;
26+ return substr ( $ ver, 1 ) ;
2727 }
2828
2929 public function getRootPath (): string
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -x
33cd $( git rev-parse --show-toplevel) /tool
4- if [ ! -d ./bridge ]; then
5- mkdir bridge
6- fi
74if [ ! -d $GOPATH /src/github.com/trezor/trezord-go ]; then
85 mkdir -p $GOPATH /src/github.com/trezor/trezord-go
96 cd $GOPATH /src/github.com/trezor/trezord-go
@@ -15,5 +12,6 @@ if [ ! -d $GOPATH/src/github.com/trezor/trezord-go ]; then
1512 git remote add origin https://github.com/trezor/trezord-go
1613 git fetch --all --tags --prune
1714 git checkout $TREZOR_BRIDGE_VERSION
18- go install .
15+ go build
16+ cp trezord-go $GOPATH /bin/trezord-go
1917fi
You can’t perform that action at this time.
0 commit comments