Commit 51026c10 authored by Jakub Jirutka's avatar Jakub Jirutka
Browse files

community/openjdk8: ensure that pkgver matches source version

parent 2daed3ee
......@@ -81,6 +81,11 @@ unpack() {
prepare() {
cd "$builddir"
local ver_u=$(sed -En 's/^JDK_UPDATE_VERSION\s*=\s*(\S+).*/\1/p'
local ver_b=$(sed -En 's/^BUILD_VERSION\s*=\s*b(\S+).*/\1/p'
[ "${pkgver#*.}" = "$ver_u.$ver_b" ] \
|| die "Version mismatch, source is 8.$ver_u.$ver_b, but abuild defines $pkgver!"
# Busybox sha256 does not support longopts.
sed -e "s/--check/-c/g" -i
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