1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-15 04:55:22 +02:00

[doc] Integrate TM Service Discovery Docs

This commit is contained in:
Martin Oberhuber 2007-06-11 11:52:17 +00:00
parent f9a41d1598
commit aaf2433582
2 changed files with 17 additions and 11 deletions

View file

@ -89,7 +89,8 @@ fi
#Check the publishing #Check the publishing
cd $HOME/ws2/publish cd $HOME/ws2/publish
cd ${buildType}*${daystamp}* DIRS=`ls -t ${buildType}*${daystamp}* | head -1 2>/dev/null`
cd ${DIRS}
FILES=`ls RSE-SDK-*.zip 2>/dev/null` FILES=`ls RSE-SDK-*.zip 2>/dev/null`
echo "FILES=$FILES" echo "FILES=$FILES"
if [ -f package.count -a "$FILES" != "" ]; then if [ -f package.count -a "$FILES" != "" ]; then
@ -108,10 +109,13 @@ if [ -f package.count -a "$FILES" != "" ]; then
if [ ${buildType} != M -a -d ../N.latest ]; then if [ ${buildType} != M -a -d ../N.latest ]; then
#update the doc server #update the doc server
rm -f ../N.latest/RSE-SDK-*.zip rm -f ../N.latest/RSE-*.zip
rm -f ../N.latest/TM-*.zip
cp -f RSE-SDK-*.zip ../N.latest/RSE-SDK-latest.zip cp -f RSE-SDK-*.zip ../N.latest/RSE-SDK-latest.zip
#chmod g+w ../N.latest/RSE-SDK-latest.zip cp -f TM-discovery-*.zip ../N.latest/TM-discovery-latest.zip
#chgrp dsdp-tmadmin ../N.latest/RSE-SDK-latest.zip cp -f RSE-remotecdt-*.zip ../N.latest/RSE-remotecdt-latest.zip
chgrp dsdp-tmadmin ../N.latest/*.zip
chmod g+w ../N.latest/*.zip
if [ ${buildType} != N ]; then if [ ${buildType} != N ]; then
#Update the testUpdates site #Update the testUpdates site

View file

@ -63,15 +63,17 @@ fi
#Copy latest SDK in order to give access to DOC server #Copy latest SDK in order to give access to DOC server
cd $HOME/ws2/publish cd $HOME/ws2/publish
if [ -d N.latest ]; then if [ -d N.latest ]; then
FILES=`ls N${daystamp}*/RSE-SDK-N${daystamp}*.zip 2>/dev/null` FILES=`ls -t N${daystamp}*/RSE-SDK-N${daystamp}*.zip | head -1 2>/dev/null`
echo "FILES=$FILES" echo "FILES=$FILES"
if [ "$FILES" != "" ]; then if [ "$FILES" != "" ]; then
rm N.latest/RSE-SDK-N*.zip rm N.latest/RSE-SDK-N*.zip 2>/dev/null
cp N${daystamp}*/RSE-SDK-N${daystamp}*.zip N.latest cd `dirname ${FILES}`
cd N.latest cp -f RSE-SDK-N*.zip ../N.latest/RSE-SDK-latest.zip
mv -f RSE-SDK-N${daystamp}*.zip RSE-SDK-latest.zip cp -f TM-discovery-*.zip ../N.latest/TM-discovery-latest.zip
chgrp dsdp-tmadmin RSE-SDK-latest.zip cp -f RSE-remotecdt-*.zip ../N.latest/RSE-remotecdt-latest.zip
chmod g+w RSE-SDK-latest.zip cd ../N.latest
chgrp dsdp-tmadmin *.zip
chmod g+w *.zip
fi fi
fi fi