summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-29 10:12:39 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-29 10:12:39 +0200
commitafbda3f42fc9c5e22d9819085c9925ef0a2542ff (patch)
tree37708abbae8b0a8ad43ade989c14912b342c97fd /bin/reproducible_build.sh
parent1ea4f082ac52bb3f48a52fbee92bf08a7898cdc5 (diff)
downloadjenkins.debian.net-afbda3f42fc9c5e22d9819085c9925ef0a2542ff.tar.xz
reproducible: use --source-only for apt-get to make it ignore binary packages even more. apt-get is black magic sometimes.
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index 06b37263..3755bf3b 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -81,7 +81,7 @@ for SRCPACKAGE in $PACKAGES ; do
DATE=$(date +'%Y-%m-%d %H:%M')
VERSION=$(apt-cache showsrc ${SRCPACKAGE} | grep ^Version | cut -d " " -f2 | head -1)
- apt-get source --download-only ${SRCPACKAGE}=${VERSION}
+ apt-get source --download-only --only-source ${SRCPACKAGE}=${VERSION}
RESULT=$?
if [ $RESULT != 0 ] ; then
SOURCELESS="${SOURCELESS} ${SRCPACKAGE}"