From 2185f39d4d95695c74238745b3bd3c293811d4ac Mon Sep 17 00:00:00 2001 From: Alexander Cristurean Date: Fri, 1 Mar 2024 14:06:20 +0200 Subject: [PATCH] fix proxy dir path in ci run. --- scripts/docker-testnet/variables.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/docker-testnet/variables.sh b/scripts/docker-testnet/variables.sh index b539d346234..f4afd395c41 100644 --- a/scripts/docker-testnet/variables.sh +++ b/scripts/docker-testnet/variables.sh @@ -125,7 +125,11 @@ fi # Proxy configuration # Path to mx-chain-proxy-go, branch: master. Default: near mx-chain-go. -export PROXYDIR="$(dirname $MULTIVERSXDIR)/mx-chain-proxy-go/cmd/proxy" +if [[ -n $CI_RUN ]]; then + export PROXYDIR="$(dirname $MULTIVERSXDIR)/mx-chain-go/mx-chain-proxy-go/cmd/proxy" +else + export PROXYDIR="$(dirname $MULTIVERSXDIR)/mx-chain-proxy-go/cmd/proxy" +fi export PROXY=$PROXYDIR/proxy # Leave unchanged. export PORT_PROXY="7950"