Skip to content

Commit

Permalink
fix reshare script
Browse files Browse the repository at this point in the history
  • Loading branch information
SvineruS committed Feb 26, 2024
1 parent c6a25da commit 91f7ffe
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions relay/reshare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ MPC_MEID=$2

SIDE_NET_LOWERCASE="${SIDE_NET,,}"
KEYGEN_CONTAINER_NAME="${SIDE_NET_LOWERCASE}-relay-keygen"
SHARE_DIR="${PWD}/share_${SIDE_NET_LOWERCASE}"
SHARE_DIR="share_${SIDE_NET_LOWERCASE}"
SHARE_DIR_HOST="${PWD}/${SHARE_DIR}"


if [[ "$SIDE_NET_LOWERCASE" == "eth" ]]; then
Expand Down Expand Up @@ -60,7 +61,7 @@ echo "Starting reshare..."

docker run -it --rm \
--name $KEYGEN_CONTAINER_NAME \
-v $SHARE_DIR:/app/shared \
-v $SHARE_DIR_HOST:/app/shared \
--entrypoint '/bin/sh' \
$IMAGE:latest \
-c "$CMD"
Expand Down

0 comments on commit 91f7ffe

Please sign in to comment.