Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/direwolf/files/patch-scripts_dw-start.sh
16462 views
1
--- scripts/dw-start.sh.orig 2022-01-28 14:55:02 UTC
2
+++ scripts/dw-start.sh
3
@@ -68,9 +68,9 @@ DWCMD="$DIREWOLF -a 100"
4
5
6
#Where will logs go - needs to be writable by non-root users
7
-LOGFILE=/var/tmp/dw-start.log
8
+#LOGFILE=/var/tmp/dw-start.log
9
+LOGFILE=/var/var/dw-start.log
10
11
-
12
#-------------------------------------
13
# Main functions of the script
14
#-------------------------------------
15
@@ -157,7 +157,7 @@ function GUI {
16
# When running from cron, we have a very minimal environment
17
# including PATH=/usr/bin:/bin.
18
#
19
-export PATH=/usr/local/bin:$PATH
20
+export PATH=%%PREFIX%%/bin:$PATH
21
22
#Log the start of the script run and re-run
23
date >> $LOGFILE
24
25