Fix net for macos and local (#3872)

This commit is contained in:
Jack May 2019-04-18 14:49:35 -07:00 committed by GitHub
parent 67b8ad6a0f
commit aab410380e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -128,7 +128,8 @@ loadConfigFile
build() {
declare MAYBE_DOCKER=
if [[ $(uname) != Linux ]]; then
source ci/rust-version.sh
# shellcheck source=ci/rust-version.sh
source ../ci/rust-version.sh
MAYBE_DOCKER="ci/docker-run.sh $rust_stable_docker_image"
fi
SECONDS=0
@ -244,7 +245,7 @@ startNode() {
"
) >> "$logFile" 2>&1 &
declare pid=$!
ln -sfT "fullnode-$ipAddress.log" "$netLogDir/fullnode-$pid.log"
ln -sf "fullnode-$ipAddress.log" "$netLogDir/fullnode-$pid.log"
pids+=("$pid")
}