projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove no-longer used file
[git-tools-moved-to-github.git]
/
id-deb-build
/
id-pbuild-all.sh
diff --git
a/id-deb-build/id-pbuild-all.sh
b/id-deb-build/id-pbuild-all.sh
index
13b6048
..
10fb5e7
100755
(executable)
--- a/
id-deb-build/id-pbuild-all.sh
+++ b/
id-deb-build/id-pbuild-all.sh
@@
-9,11
+9,33
@@
if test ! -e "$PKG"; then
echo "${PKG} does not exist"
exit 1
fi
echo "${PKG} does not exist"
exit 1
fi
-for dist in intrepid hardy etch lenny; do
+PRODUCT=`echo *.dsc|sed 's/_.*//g'`
+DEBIAN_DIST="etch lenny"
+UBUNTU_DIST="jaunty intrepid hardy"
+
+for dist in ${UBUNTU_DIST} ${DEBIAN_DIST}; do
for arch in i386 amd64; do
for arch in i386 amd64; do
+ if test ! -f /var/cache/pbuilder/${dist}-${arch}-base.tgz; then
+ DIST=$dist ARCH=$arch pbuilder create
+ fi
if $update; then
DIST=$dist ARCH=$arch pbuilder update --override-config
fi
DIST=$dist ARCH=$arch pbuilder --build $PKG
if $update; then
DIST=$dist ARCH=$arch pbuilder update --override-config
fi
DIST=$dist ARCH=$arch pbuilder --build $PKG
+ if test -f ${dist}-${arch}/*.dsc; then
+ :
+ else
+ echo "No .dsc file for ${dist}-${arch}"
+ exit 1
+ fi
done
done
done
done
+
+if false; then
+for dist in ${UBUNTU_DIST}; do
+ scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/ubuntu/${dist}
+done
+for dist in ${DEBIAN_DIST}; do
+ scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/debian/${dist}
+done
+fi