fix path to gmnitohtml for crontab usage

This commit is contained in:
oniricorpe 2023-08-17 21:08:46 +02:00
parent 0d72491f07
commit 41e4683f04

View file

@ -32,7 +32,7 @@ do
sed "s#<\!-- TITLE -->#$title#" html/header.html > "$tempdir/header.html"
# conversion du .gmi en .html
gmnitohtml < "$gmi_file" > "$tempdir/body.html"
/usr/local/bin/gmnitohtml < "$gmi_file" > "$tempdir/body.html"
# on récupère juste le path du dossier qui contient le .gmi
file_path="$(dirname "$gmi_file")"