Commit f904030c authored by Lasse Karstensen's avatar Lasse Karstensen

No realpath on our wheezy jenkins box.

parent afb368ca
......@@ -13,7 +13,7 @@ dl() {
}
RELEASEVERSION=$1
OUTPUTDIR=$(realpath $2)
OUTPUTDIR=$2
if [ $# -ne 2 ]; then
echo "Usage: $0 release outputdir"
......@@ -36,10 +36,9 @@ if ! gpg --list-key C4DEFFEB 1>/dev/null; then
fi
# Do file verification.
cd $TMPDIR
gpg --verify SHA256SUM.gpg SHA256SUM
(cd $TMPDIR && gpg --verify SHA256SUM.gpg SHA256SUM)
# Release must be a part of the signed signature file to be valid.
grep "varnish-$RELEASEVERSION.tar.gz" SHA256SUM | sha256sum -c -
(cd $TMPDIR && grep "varnish-$RELEASEVERSION.tar.gz" SHA256SUM | sha256sum -c - )
mv $TMPDIR/*gz $OUTPUTDIR
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