[Pkg-kde-commits] rev 1156 - scripts
Pierre Habouzit
madcoder-guest@costa.debian.org
Mon, 30 May 2005 11:28:44 +0000
Author: madcoder-guest
Date: 2005-05-30 11:28:44 +0000 (Mon, 30 May 2005)
New Revision: 1156
Modified:
scripts/check-shlibs2
Log:
add POOL variable, so that you can check against http://snapshot.debian.net/archive/YYYY/MM/DD/debian/pool
Modified: scripts/check-shlibs2
===================================================================
--- scripts/check-shlibs2 2005-05-30 10:01:48 UTC (rev 1155)
+++ scripts/check-shlibs2 2005-05-30 11:28:44 UTC (rev 1156)
@@ -27,6 +27,7 @@
VERSION=`dpkg-parsechangelog | grep -E '^Version:' | cut -f 2 -d ' '`
SHLIBS_SVN='svn://svn.debian.org/pkg-kde/branches/kde-3.4.0/shlibs'
WHERE=debian/shlibs-check
+POOL=${POOL:-'http://ftp.debian.org/debian/pool'}
perror() {
echo >&2 "$1"
@@ -66,10 +67,10 @@
LETTER=`echo $SOURCE | cut -b1`
PKG=${BASE}_${LAST_VERSION}_${DEB_BUILD_ARCH}.deb
- URL=http://ftp.debian.org/debian/pool/main/$LETTER/$SOURCE/$PKG
+ URL=$POOL/main/$LETTER/$SOURCE/$PKG
TMP=debian/old/$BASE
-
+
if wget -q $URL; then
test -d $TMP || mkdir -p $TMP 2>/dev/null
dpkg -x $PKG $TMP