fix bug in ROOTPATH

This commit is contained in:
LinuxSquare 2024-04-04 20:27:18 +02:00
parent 6732872e79
commit 5c53a90821

2
poddoc
View file

@ -3,7 +3,7 @@
# CONSTANTS
readonly PKGVER="0.1.0"
readonly LICENSE="GNU AGPLv3"
readonly ROOTPATH="$(dirname $(readlink -f $0))"
readonly ROOTPATH="$(dirname $(readlink -f $(which $0)))"
readonly CONFIG="/usr/local/noveria/etc/poddoc/poddoc.json"
for util in ${ROOTPATH}/utils/*; do