1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh -e
if [ "$1" = "-p" ]; then
FULLPKGNAME=1
shift
fi
DRIVERS="$@"
AUTOXORGGIT=$(dirname $0)/auto-xorg-git
if [ ! -x $AUTOXORGGIT ]; then
echo "Can not execute $AUTOXORGGIT"
exit 1
fi
for PACKAGE in $DRIVERS; do
echo
echo "=================================="
echo "Building $PACKAGE"
echo "=================================="
mkdir -p auto-$PACKAGE/uploaded
mv auto-$PACKAGE/*source.changes auto-$PACKAGE/uploaded 2>/dev/null || true
[ "$FULLPKGNAME" = 1 ] && P="-p" || P=""
$AUTOXORGGIT $AOPTS -o -n -w auto-$PACKAGE $P $PACKAGE
dput $PPA auto-$PACKAGE/*source.changes || true
done
|