~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to queue-generate-sources

  • Committer: Ubuntu Archive
  • Date: 2010-09-09 13:21:06 UTC
  • Revision ID: ubuntu-archive@lillypilly-20100909132106-vf90hsui7r781cky
rrsync: update to example script from rsync 3.0.7-1ubuntu1, to deal with options passed by newer rsync versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
cd $HOME/public_html/queue
 
4
 
 
5
for d in $(find -maxdepth 2 -mindepth 2 -type d); do
 
6
    chmod 755 $d
 
7
    (cd $d && dpkg-scansources . | gzip -9 > Sources.gz )
 
8
done