From 7ec4a81f95d4ceaf44a75b3694d605ece07238ed Mon Sep 17 00:00:00 2001 From: wanghengfang Date: Wed, 12 Jul 2023 18:23:46 +0800 Subject: [PATCH] fix(testnet): update OKCHAIN_TOP reference to current path --- dev/testnet/okc.profile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/testnet/okc.profile b/dev/testnet/okc.profile index 4299ad0c0e..9699aeb194 100644 --- a/dev/testnet/okc.profile +++ b/dev/testnet/okc.profile @@ -1,9 +1,9 @@ BIN_NAME=exchaind -OKCHAIN_TOP=${GOPATH}/src/github.com/okex/exchain +CUR=`pwd` +OKCHAIN_TOP="${CUR%/*/*}" OKCHAIN_BIN=${OKCHAIN_TOP}/build OKCHAIN_BIN=${GOPATH}/bin -OKCHAIN_NET_TOP=`pwd` -OKCHAIN_NET_CACHE=${OKCHAIN_NET_TOP}/cache +OKCHAIN_NET_CACHE=${CUR}/cache CHAIN_ID="exchain-67"