Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | ||
3 | src=/opt/local/lib/php | |
4 | dst=../packages | |
5 | ||
6 | rsyncOptions="-avC --exclude=svn" | |
7 | rsync="rsync $rsyncOptions" | |
8 | ||
9 | for code in PEAR DB HTML Log Smarty Validate Pager PHP Archive System Console XML PhpDocumentor Mail Net/Socket Net/SMTP; do | |
10 | echo $code | |
11 | [ -a $src/$code.php ] && $rsync $src/$code.php $dst | |
12 | [ -d $src/$code ] && $rsync $src/$code $dst | |
13 | done | |
14 | ||
15 | [ -d ../PEAR/HTML ] && $rsync ../PEAR/HTML $dst | |
16 | [ -d ../PEAR/DB ] && $rsync ../PEAR/DB $dst | |
17 |