summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorKurt Lieber <klieber@gentoo.org>2004-02-04 14:27:39 +0000
committerKurt Lieber <klieber@gentoo.org>2004-02-04 14:27:39 +0000
commit6c075ddf54dfd3dc7c37a47c9d409825d66ed22f (patch)
tree21d325802f0a5ca3af9a03c77bf16116c66261eb /admin
parentremved gentoo.noved.net mirrors (diff)
downloadgentoo-6c075ddf54dfd3dc7c37a47c9d409825d66ed22f.tar.gz
gentoo-6c075ddf54dfd3dc7c37a47c9d409825d66ed22f.tar.bz2
gentoo-6c075ddf54dfd3dc7c37a47c9d409825d66ed22f.zip
fixed some path stuff
Diffstat (limited to 'admin')
-rw-r--r--admin/www.gentoo.org/scripts/news-index.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/www.gentoo.org/scripts/news-index.sh b/admin/www.gentoo.org/scripts/news-index.sh
index e9a5b48cd5..3f40ce328a 100644
--- a/admin/www.gentoo.org/scripts/news-index.sh
+++ b/admin/www.gentoo.org/scripts/news-index.sh
@@ -33,7 +33,7 @@ cd ${GENTOO_WEB_DOCROOT}
#for x in `ls news/200*.xml | sort -r`
for x in `ls ${GENTOO_WEB_DOCROOT}/news/200*.xml | sed -e 's/^.*htdocs\///' | sort -r`
do
- echo "<uri>/$x</uri>" >> ${GENTOO_WEB_DOCROOT}/dyn/news-index.xml
+ echo "<uri>$x</uri>" >> ${GENTOO_WEB_DOCROOT}/dyn/news-index.xml
done
echo "</uris>" >> ${GENTOO_WEB_DOCROOT}/dyn/news-index.xml
echo "News index generated :)"
@@ -41,11 +41,11 @@ echo "News index generated :)"
# now the subpages
for x in ${ARCHES}
do
- cd ${GENTOO_WEB_DOCROOT}/proj/en/${x}
+ cd ${GENTOO_WEB_DOCROOT}proj/en/base/${x}
#for y in `ls news/200*.xml | sort -r`
for y in `ls ${GENTOO_WEB_DOCROOT}/news/200*.xml | sed -e 's/^.*htdocs\///' | sort -r`
do
- echo "<uri>/${y}</uri>" >> ${GENTOO_WEB_DOCROOT}/dyn/${x}-news-index.xml
+ echo "<uri>${y}</uri>" >> ${GENTOO_WEB_DOCROOT}/dyn/${x}-news-index.xml
done
echo "</uris>" >> ${GENTOO_WEB_DOCROOT}/dyn/${x}-news-index.xml
echo "News index for ${x} generated :)"