Skip to content

Commit

Permalink
undoing the previous commit
Browse files Browse the repository at this point in the history
was unnecessary
  • Loading branch information
joeaba authored Jan 21, 2022
1 parent e3915e4 commit 252b0c4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,11 @@ netDir=$(
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
echo "$PWD"
)
echo "netDir in net/common is : $netDir"
netConfigDir="$netDir"/config
mkdir -p "$netConfigDir"

SOLANA_ROOT="$netDir"/..
# shellcheck source=scripts/configure-metrics.sh
echo "SOLANA_ROOT in net/common is : $SOLANA_ROOT"
source "$SOLANA_ROOT"/scripts/configure-metrics.sh

configFile="$netConfigDir/config"
Expand Down Expand Up @@ -60,7 +58,6 @@ loadConfigFile() {

# shellcheck source=/dev/null
source "$configFile"
cat "$configFile"
[[ -n "$publicNetwork" ]] || usage "Config file invalid, publicNetwork unspecified: $configFile"
[[ -n "$netBasename" ]] || usage "Config file invalid, netBasename unspecified: $configFile"
[[ -n $sshPrivateKey ]] || usage "Config file invalid, sshPrivateKey unspecified: $configFile"
Expand Down

0 comments on commit 252b0c4

Please sign in to comment.