Commit 2e3ec5af authored by Holger Levsen's avatar Holger Levsen

fixup cad543cb: reproducible Debian: avoid one cd command per loop run

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent cad543cb
......@@ -115,7 +115,7 @@ for package in $packages ; do
fi
if [ ! -e ${package_file}.sha1output ] ; then
echo -n "$(date -u) - downloading... "
( schroot --directory $SHA1DIR/$pool_dir -c chroot:jenkins-reproducible-${RELEASE}-diffoscope apt-get download ${package}/${RELEASE} 2>&1 |xargs echo ) || continue
( schroot --directory $pool_dir -c chroot:jenkins-reproducible-${RELEASE}-diffoscope apt-get download ${package}/${RELEASE} 2>&1 |xargs echo ) || continue
echo "$(date -u) - calculating sha1sum for ${package_file}"
SHA1SUM_PKG="$(sha1sum ${package_file} | tee ${package_file}.sha1output | awk '{print $1}' )"
rm ${package_file}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment