diff options
-rw-r--r-- | admin/www.gentoo.org/scripts/news-index.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/www.gentoo.org/scripts/news-index.sh b/admin/www.gentoo.org/scripts/news-index.sh index 40be918bef..364cf321b7 100644 --- a/admin/www.gentoo.org/scripts/news-index.sh +++ b/admin/www.gentoo.org/scripts/news-index.sh @@ -27,7 +27,7 @@ mydate=`date +"%d %b %Y"` # again, for backwards compatibility, we keep this in place. cd ${WEBROOT} -for x in `ls news/200*.xml | sort -r` +for x in `ls ${WEBROOT}/news/200*.xml | sort -r` do echo "<uri>/$x</uri>" >> ${WEBROOT}/dyn/news-index.xml done @@ -38,7 +38,7 @@ echo "News index generated :)" for x in ${ARCHES} do cd ${WEBROOT}/proj/en/${x} - for y in `ls news/200*.xml | sort -r` + for y in `ls ${WEBROOT}/news/200*.xml | sort -r` do echo "<uri>/${y}</uri>" >> ${WEBROOT}/dyn/${x}-news-index.xml done |