Ensure that the version part of $_url_base is correctly removed by
authorrpe <rpe@openbsd.org>
Tue, 11 Apr 2017 19:23:10 +0000 (19:23 +0000)
committerrpe <rpe@openbsd.org>
Tue, 11 Apr 2017 19:23:10 +0000 (19:23 +0000)
commit6f651414769a5d6f68bb8bfd9fa7fcd1d52e81fb
tree95e6c6b91cc6392c4b023c00d00c8bc935ca98c6
parent2485dca02f56819d9f28a1cfcb7287946b46380c
Ensure that the version part of $_url_base is correctly removed by
using $VNAME (x.y) instead of $VERSION (xy). This fixes the problem
that the version part ended up in installurl which is wrong anyway
and also confuses pkg_add.

Thanks to florian@ and trondd at kagu-tsuchi dot com for reporting
this.

OK tb@
distrib/miniroot/install.sub