summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2003-08-05 21:15:26 +0000
committerMichael Cummings <mcummings@gentoo.org>2003-08-05 21:15:26 +0000
commit18b1eb989727c19e10e252540ba7501f3bdc69ea (patch)
treef018c2081770aa265c64a540f2bf2ca7cbf4c8b3 /admin
parentfixed a bit (diff)
downloadgentoo-18b1eb989727c19e10e252540ba7501f3bdc69ea.tar.gz
gentoo-18b1eb989727c19e10e252540ba7501f3bdc69ea.tar.bz2
gentoo-18b1eb989727c19e10e252540ba7501f3bdc69ea.zip
fixed typo for ls news/200*.xml - added path, was borking
Diffstat (limited to 'admin')
-rw-r--r--admin/www.gentoo.org/scripts/news-index.sh4
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