Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Commit

Permalink
fix: make relayd work when run in go-ipfs repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Nov 24, 2021
1 parent 13f94f1 commit 4d14510
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/setup-relayd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@

set -eo pipefail

if ! type relayd; then
if ! test -e ./go-libp2p-relay-daemon/relayd; then
echo "Building ./go-libp2p-relay-daemon/relayd binary.."
rm -rf ./go-libp2p-relay-daemon
git clone https://github.com/libp2p/go-libp2p-relay-daemon.git
cd go-libp2p-relay-daemon
# no releases atm, so we pin implementation to specific commit
git checkout 65211a0b6d881086feb7c386d780f55c37dff101 # 2021-11-19
go build ./...
echo "./go-libp2p-relay-daemon/relayd is ready"
fi

0 comments on commit 4d14510

Please sign in to comment.