extras-buildsys/utils extras-sync,1.1,1.2

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Apr 29 10:55:27 UTC 2006


Author: scop

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26816

Modified Files:
	extras-sync 
Log Message:
Make a bit easier to adapt to other projects.


Index: extras-sync
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-sync,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- extras-sync	25 Apr 2006 01:54:07 -0000	1.1
+++ extras-sync	29 Apr 2006 10:55:24 -0000	1.2
@@ -1,16 +1,13 @@
 #!/bin/bash
+
 outputdir=/srv/rpmbuild/extras/tree/extras
+targetdir=build at fedora.linux.duke.edu:/srv/web/docroot/extras/
 
 echo "Test sync"
-rsync -navH --delete -e ssh $outputdir/* \
-   build at fedora.linux.duke.edu:/srv/web/docroot/extras/ | grep -v repodata
+rsync -navH --delete -e ssh $outputdir/* $targetdir | grep -v repodata
 
 echo "Real Sync"
 echo "Ctrl-C or kill to exit"
 echo "Sleeping for 30s"
 sleep 30
-rsync -avH --delete -e ssh $outputdir/* build at fedora.linux.duke.edu:/srv/web/docroot/extras/
-
-
-
-
+rsync -avH --delete -e ssh $outputdir/* $targetdir




More information about the fedora-extras-commits mailing list