Update of /cvsroot/leaf/devel/mhnoyes/sf-admin
In directory sc8-pr-cvs1:/tmp/cvs-serv31969

Modified Files:
        docmanager.sh 
Log Message:
moved things around

Index: docmanager.sh
===================================================================
RCS file: /cvsroot/leaf/devel/mhnoyes/sf-admin/docmanager.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** docmanager.sh       26 Feb 2003 21:57:05 -0000      1.5
--- docmanager.sh       26 Feb 2003 22:25:57 -0000      1.6
***************
*** 10,14 ****
  
  DM_DIR=/mnt/leaf/cvs/doc/docmanager
- DOCLIST=""
  
  #----------------------------------------
--- 10,13 ----
***************
*** 18,24 ****
--- 17,31 ----
  documents () {
    DOCLIST=`adocman --list=documentsbystate --documentstate=active -q`
+   wait
    echo "$DOCLIST"
  }
  
+ update_document_bodies () {
+   for docid in `documents`; do
+     adocman --filename=docid_"$docid".html --docid="$docid" --modify=body
+     wait
+   done
+ }
+ 
  #----------------------------------------
  # MAIN PROGRAM
***************
*** 30,37 ****
  adocman --login
  wait
! for docid in `documents`; do
!   adocman --filename=docid_"$docid".html --docid="$docid" --modify=body
!   wait
! done
  adocman --logout
  
--- 37,41 ----
  adocman --login
  wait
! update_document_bodies
  adocman --logout
  




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Leaf-cvs-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-cvs-commits

Reply via email to