Update of /cvsroot/fink/scripts/pdb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29569

Modified Files:
        refresh 
Log Message:
Use new getopt syntax for dump; more loopiness


Index: refresh
===================================================================
RCS file: /cvsroot/fink/scripts/pdb/refresh,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- refresh     7 Jun 2005 10:02:45 -0000       1.12
+++ refresh     4 Apr 2006 21:55:47 -0000       1.13
@@ -25,12 +25,12 @@
 for dist in [EMAIL PROTECTED]; do
     rm -f fink/dists var/db/fink.db
     ln -s $dist fink/dists
-    echo ""
-    echo "Dumping $dist/stable..."
-    ./dump $dist stable current-$dist-stable >> current.sql
-    echo ""
-    echo "Dumping $dist/unstable..."
-    ./dump $dist unstable current-$dist-unstable >> current.sql
+
+    for tree in stable unstable; do
+       echo ""
+       echo "Dumping $dist/$tree..."
+       ./dump --distribution=$dist --tree=$tree --release=current-$dist-$tree 
>> current.sql
+    done
 done
 
 echo ""



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to