Commit f83d03d9 authored by Holger Levsen's avatar Holger Levsen

fixup syntax error in 1ddf3f8c

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent ff15db61
......@@ -133,8 +133,9 @@ for package in $packages ; do
SHA1SUM_PKG="$(sha1sum ${package_file} | tee ${package_file}.sha1output | awk '{print $1}' )"
rm ${package_file}
if [ -n "$(ls ${package}_*REPRODUCIBLE.$RELEASE 2>/dev/null)" ] ; then
echo "$(date -u) - $package was updated, deleting results for old version."
rm ${package}_*REPRODUCIBLE.$RELEASE
echo "$(date -u) - $package was updated, result for old version deleted."
fi
else
echo "$(date -u) - ${package_file} is known, gathering sha1sum"
SHA1SUM_PKG="$(cat ${package_file}.sha1output | awk '{print $1}' )"
......
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