commit 30fa91565832ca0006858c7ca8d89fc43092bc2d from: mischa date: Sun Jun 04 08:40:18 2023 UTC no need for cd in WORKDIR commit - 58271c51272a30e00c5c85a24ea44c0bbc6ea136 commit + 30fa91565832ca0006858c7ca8d89fc43092bc2d blob - 8f939407c64d1d00a6f11b6f6b15cf4c8da00f90 blob + 00f7039c1c31b32d7f02585a69734e08794c09d8 --- uptimeatomic +++ uptimeatomic @@ -5,7 +5,8 @@ # export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin CONFIGFILE="uptimeatomic.conf" -WORKDIR=$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P) +#WORKDIR=$(cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P) +WORKDIR=$(dirname -- "$(command -v -- "/home/mischa/uptimeatomic/uptimeatomic")") usage() { echo "usage: ${0##*/} [-c checksfile] [-i incidentsfile] [-p pastincidentsfile] [-o htmlfile]" 1>&2