1 |
#!/usr/local/bin/bash |
#!/bin/bash |
|
# |
|
|
# Giuseppe Vacanti, January 2000 |
|
2 |
# |
# |
3 |
# + fetch CCF deliveries from the ftp site |
# + fetch CCF deliveries from the ftp site |
4 |
# + perform basic checks on the packages |
# + perform basic checks on the packages |
7 |
# Exit codes (<0 informational) |
# Exit codes (<0 informational) |
8 |
# -1 (255): no new CCF deliveries |
# -1 (255): no new CCF deliveries |
9 |
# |
# |
10 |
# $Id: getdeliveries,v 1.1 2002/02/18 20:23:57 ccflib Exp $ |
# $Id: getdeliveries,v 1.4 2003/11/26 13:22:15 ccflib Exp $ |
11 |
|
|
12 |
set -e |
set -e |
13 |
|
|
19 |
me=`basename $0` |
me=`basename $0` |
20 |
##echo $me running at `date` |
##echo $me running at `date` |
21 |
|
|
22 |
uploaddir=/ccf/private/incoming |
# uploaddir=/ccf/private/incoming |
23 |
|
uploaddir=~/incoming |
24 |
pkgdir=~/deliveries/packages |
pkgdir=~/deliveries/packages |
25 |
builtdir=~/deliveries/built |
builtdir=~/deliveries/built |
26 |
rejdir=~/deliveries/rejected |
rejdir=~/deliveries/rejected |