Revert "Clean up net/log symlinks (#6794)" (#6809)

This reverts commit 68353b7e57.
This commit is contained in:
Michael Vines 2019-11-07 22:15:45 -07:00 committed by GitHub
parent 68353b7e57
commit f7b6e777bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 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 -sfh "$netLogDateDir" "$netLogDir"
ln -sf "$netLogDateDir" "$netLogDir"
SOLANA_ROOT="$netDir"/..
# shellcheck source=scripts/configure-metrics.sh
@ -131,3 +131,4 @@ _setup_secondary_mount() {
fi
)
}