Plumb GEOLOCATION_API_KEY down to the blockexplorer (#6514)

This commit is contained in:
Michael Vines
2019-10-23 09:53:06 -07:00
committed by GitHub
parent 6829b8a6fb
commit bedb05bdeb
3 changed files with 16 additions and 9 deletions

View File

@ -25,6 +25,7 @@ benchExchangeExtraArgs="${16}"
genesisOptions="${17}"
extraNodeArgs="${18}"
gpuMode="${19:-auto}"
GEOLOCATION_API_KEY="${20}"
set +x
# Use a very large stake (relative to the default multinode-demo/ stake of 42)
@ -303,6 +304,8 @@ EOF
#!/bin/bash -ex
cd ~/solana
export GEOLOCATION_API_KEY=$GEOLOCATION_API_KEY
if [[ -f blockexplorer.pid ]]; then
pgid=\$(ps opgid= \$(cat blockexplorer.pid) | tr -d '[:space:]')
if [[ -n \$pgid ]]; then