From 9b2db84ecd8e440ad051821cff772e16eee1fffe Mon Sep 17 00:00:00 2001 From: Charadon Date: Thu, 14 Jul 2022 03:34:08 -0400 Subject: Finished up logging functionality --- config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.sh') diff --git a/config.sh b/config.sh index 8da5c81..c78e95e 100644 --- a/config.sh +++ b/config.sh @@ -7,7 +7,7 @@ DSCIP_GITREPO="https://www.example.com/example/example.git" DSCIP_GITMODE="clone" # Branch to check # DSCIP_BRANCH="master" -WORKING_DIRECTORY="." +WORKING_DIRECTORY="$(dirname $(realpath $0))" # Commands to run before building. # DSCIP_PRE_CMD="$WORKING_DIRECTORY/pre.sh" # Commands to run to build program. # @@ -21,4 +21,4 @@ DSCIP_SLEEP="60" # How many seconds before the daemon re-runs itself. # # etc # DSCIP_DISREGARD_COMMIT_CHECK="false" # If the script should just rebuild even # # if upstream has not updated. # -DSCIP_OUTPUT_TO="/dev/stdout" # Output to file, default is stdout. +DSCIP_OUTPUT_TO="$WORKING_DIRECTORY/output.log" # Output to file, default is stdout. -- cgit 1.4.1-2-gfad0