From 277358c2b587434293cc6f92cec2309805f80126 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Mon, 30 Sep 2019 21:01:46 +0200 Subject: [PATCH] fix mkrss file path --- mkrss.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mkrss.sh b/mkrss.sh index b18e822..4ac55c0 100755 --- a/mkrss.sh +++ b/mkrss.sh @@ -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