Ensure that numerical branch has "v" prefix

This commit is contained in:
Jakub Jirutka 2020-01-28 17:15:31 +01:00
parent f8568641b4
commit 581202213d

View file

@ -354,6 +354,10 @@ done
: ${SCRIPT_CHROOT:="no"}
: ${SERIAL_CONSOLE:="no"}
case "$ALPINE_BRANCH" in
[0-9]*) ALPINE_BRANCH="v$ALPINE_BRANCH";;
esac
if [ -f /etc/alpine-release ]; then
: ${INSTALL_HOST_PKGS:="yes"}
else