fix path to gmnitohtml for crontab usage
This commit is contained in:
parent
0d72491f07
commit
41e4683f04
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ do
|
||||||
sed "s#<\!-- TITLE -->#$title#" html/header.html > "$tempdir/header.html"
|
sed "s#<\!-- TITLE -->#$title#" html/header.html > "$tempdir/header.html"
|
||||||
|
|
||||||
# conversion du .gmi en .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
|
# on récupère juste le path du dossier qui contient le .gmi
|
||||||
file_path="$(dirname "$gmi_file")"
|
file_path="$(dirname "$gmi_file")"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue