Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2019 19:33:18 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Greg Lewis <glewis@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r518486 - head/java/javavmwrapper/src
Message-ID:  <02765ecc-85b6-e4f5-34de-3fe98af7d6b7@grosbein.net>
In-Reply-To: <201911270056.xAR0uO7O018446@repo.freebsd.org>
References:  <201911270056.xAR0uO7O018446@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
27.11.2019 7:56, Greg Lewis wrote:

>              case "${version}" in
[skip]
>                  10+)
> -                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 10 11 12"
> +                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 10 11 12 13"
>                      ;;
>                  11+)
> -                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 11 12"
> +                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 11 12 13"
>                      ;;
>                  12+)
> -                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 12"
> +                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 12 13"
> +                    ;;
> +                13+)
> +                    _JAVAVM_VERSION="${_JAVAVM_VERSION} 13"
>                      ;;

Maybe it's time to collapse these using something like the following?

1?+)
  _JAVAVM_VERSION="${_JAVAVM_VERSION} `jot - ${version%+} $MAXVERSION`"
  ;;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02765ecc-85b6-e4f5-34de-3fe98af7d6b7>