mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Update update site: patch site.xsl for testUpdates
This commit is contained in:
parent
4d1b7e1481
commit
459b960d22
1 changed files with 5 additions and 3 deletions
|
@ -15,21 +15,23 @@ umask 002
|
|||
cd ..
|
||||
SITE=`pwd`
|
||||
TAG=`ls features | head -1 | sed -e 's,[^_]*_[0-9.]*\([^.]*\).jar,\1,'`
|
||||
rm site.xml
|
||||
rm site.xml web/site.xsl
|
||||
cvs -q update -d
|
||||
if [ `basename $SITE` = testUpdates ]; then
|
||||
echo "Working on test update site"
|
||||
sed -e 's,/dsdp/tm/updates,/dsdp/tm/testUpdates,g' \
|
||||
-e 's,Project Update Site,Project Test Update Site,g' \
|
||||
-e 's,Project Update,Project Test Update,g' \
|
||||
site.xml > site.xml.new
|
||||
mv -f site.xml.new site.xml
|
||||
sed -e 's,Project Update,Project Test Update,g' \
|
||||
web/site.xsl > web/site.xsl.new
|
||||
mv -f web/site.xsl.new web/site.xsl
|
||||
else
|
||||
echo "Working on official update site"
|
||||
fi
|
||||
sed -e "s,200607201800,$TAG,g" \
|
||||
site.xml > site.xml.new
|
||||
mv -f site.xml.new site.xml
|
||||
chgrp dsdp-tm-rse site.xml
|
||||
|
||||
# optimize the site
|
||||
# see http://wiki.eclipse.org/index.php/Platform-releng-faq
|
||||
|
|
Loading…
Add table
Reference in a new issue