fix mkrss file path
This commit is contained in:
parent
8abeacb211
commit
277358c2b5
5
mkrss.sh
5
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
|
||||
|
|
Loading…
Reference in New Issue