Update of /cvsroot/wxlua/website
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8016
Modified Files:
updatesite.sh
Log Message:
changed the script to update the CVS repo website reather than trying to checkit out all the times
Index: updatesite.sh
===================================================================
RCS file: /cvsroot/wxlua/website/updatesite.sh,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** updatesite.sh 24 May 2006 15:20:01 -0000 1.26
--- updatesite.sh 19 Dec 2006 23:00:59 -0000 1.27
***************
*** 5,16 ****
# script globals
export CVSROOT=:pserver:ano...@wx...s:/cvsroot/wxlua
! wxluadir="/home/groups/w/wx/wxlua"
function restorepermissions
{
echo Restoring permissions
! cd $wxluadir/htdocs
# note: the user permissions must be set, too otherwise the owner
--- 5,30 ----
# script globals
export CVSROOT=:pserver:ano...@wx...s:/cvsroot/wxlua
! wxluadir="/home/groups/w/wx/wxlua/htdocs"
!
+ function updatefromcvs
+ {
+ cd $wxluadir
+ echo "Checking out website to htdocs dir from cvs"
+ cvs -q update -P -d
+
+ echo "Checking out the docs dir to the htdocs/docs dir from cvs"
+ cvs -q update -P -d
+
+ echo "Checking out the whole wxLua cvs repository to the htdocs/wxLua dir from cvs"
+ cd wxLua
+ cvs -q update -P -d
+ }
function restorepermissions
{
echo Restoring permissions
! cd $wxluadir
# note: the user permissions must be set, too otherwise the owner
***************
*** 22,44 ****
}
- function updatefromcvs
- {
- echo "Checking out website to htdocs dir from cvs"
- cd $wxluadir
- cvs -q checkout -P -d htdocs website
-
- echo "Checking out the docs dir to the htdocs/docs dir from cvs"
- cd htdocs
- cvs -q checkout -P -d docs wxLua/docs
-
- echo "Checking out the whole wxLua cvs repository to the htdocs/wxLua dir from cvs"
- cd $wxluadir/htdocs
- cvs -q checkout -P wxLua
- }
-
function createdocs
{
echo "Generating Doxygen documentation"
! cd $wxluadir/htdocs/docs
doxygen doxygen_website.cfg
}
--- 36,43 ----
}
function createdocs
{
echo "Generating Doxygen documentation"
! cd $wxluadir/docs
doxygen doxygen_website.cfg
}
***************
*** 47,51 ****
{
echo "Creating snapshot"
! cd $wxluadir/htdocs/download
cp -rf ../wxLua .
--- 46,50 ----
{
echo "Creating snapshot"
! cd $wxluadir/download
cp -rf ../wxLua .
|