no need for cd in WORKDIR
This commit is contained in:
parent
58271c5127
commit
30fa915658
|
@ -5,7 +5,8 @@
|
||||||
#
|
#
|
||||||
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
|
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
|
||||||
CONFIGFILE="uptimeatomic.conf"
|
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() {
|
usage() {
|
||||||
echo "usage: ${0##*/} [-c checksfile] [-i incidentsfile] [-p pastincidentsfile] [-o htmlfile]" 1>&2
|
echo "usage: ${0##*/} [-c checksfile] [-i incidentsfile] [-p pastincidentsfile] [-o htmlfile]" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue