Clean up net/log symlinks (#6794)

This commit is contained in:
Justin Starry 2019-11-07 23:45:19 -05:00 committed by GitHub
parent 8e81bc1b49
commit 68353b7e57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

2
net/.gitignore vendored
View File

@ -1,2 +1,2 @@
/config/
/log/
/log

View File

@ -19,7 +19,7 @@ if [[ -d $netLogDir && ! -L $netLogDir ]]; then
mv "$netLogDir" "$netDir"/log.old
fi
mkdir -p "$netConfigDir" "$netLogDateDir"
ln -sf "$netLogDateDir" "$netLogDir"
ln -sfh "$netLogDateDir" "$netLogDir"
SOLANA_ROOT="$netDir"/..
# shellcheck source=scripts/configure-metrics.sh
@ -131,4 +131,3 @@ _setup_secondary_mount() {
fi
)
}