fix mkrss file path

This commit is contained in:
Yann Esposito (Yogsototh) 2019-09-30 21:01:46 +02:00
parent 8abeacb211
commit 277358c2b5
Signed by untrusted user who does not match committer: yogsototh
GPG Key ID: 7B19A4C650D59646
1 changed files with 3 additions and 2 deletions

View File

@ -48,8 +48,9 @@ tmpdir=$(mktemp -d)
typeset -a dates
dates=( )
for fic in $postsdir/**/*.html; do
blogfile="$(echo "$fic"|sed 's#^'$postsdir'/##')"
printf "%-30s" $blogfile
postfile="$(echo "$fic"|sed 's#^'$postsdir'/##')"
blogfile="$(echo "$fic"|sed 's#^'$webdir'/##')"
printf "%-30s" $postfile
xfic="$tmpdir/$fic.xml"
mkdir -p $(dirname $xfic)
hxclean $fic > $xfic