avoid using ${var^} and ${var,} as they do not work in bash-3.2

Once these upgrade to EAPI=6, they can use these case modification
features, so leave a reminder note in there.
This commit is contained in:
Mike Frysinger
2015-11-10 20:26:49 -05:00
parent 8b26c09d67
commit 2347c6fe88
29 changed files with 119 additions and 59 deletions

View File

@@ -7,7 +7,9 @@ JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-pkg-simple versionator
MY_PN="${PN^^}"
# Switch to ^^ when we switch to EAPI=6.
#MY_PN="${PN^^}"
MY_PN="GROOVY"
MY_PV="$(replace_all_version_separators _ ${PV})"
MY_P="${MY_PN}_${MY_PV}"