mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
feat: Updates logging paths, to all write to 'logs' directory in the tmp directory.
This commit is contained in:
@@ -8,7 +8,7 @@ THIS_FILE=${BASH_SOURCE[0]}
|
||||
LOG_LABEL=$(basename "$THIS_FILE")
|
||||
# Allows script name to be set when called from a parent script or defaults to filename.
|
||||
THIS=${THIS:-$LOG_LABEL}
|
||||
LOG_FILE=${LOG_FILE:-/tmp/$LOG_LABEL.log}
|
||||
LOG_FILE=${LOG_FILE:-$LOG_LABEL.log}
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
|
||||
Reference in New Issue
Block a user