about summary refs log tree commit diff stats
path: root/config.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config.sh')
-rw-r--r--config.sh4
1 files changed, 2 insertions, 2 deletions
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.