dev-lang/swift: fix ebuild local var name

d201619d3 introduced a check for a Swift compiler to use for
bootstrapping Swift 6, but typo'd the variable name used in one case.
This only affected in-place upgrades with no other Swift version
installed, so wasn't caught in testing.

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber
2026-06-09 18:27:43 -04:00
parent e04b0cf93b
commit 3af0aa6d14
6 changed files with 6 additions and 6 deletions

View File

@@ -241,7 +241,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."

View File

@@ -243,7 +243,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."

View File

@@ -244,7 +244,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."

View File

@@ -246,7 +246,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."

View File

@@ -246,7 +246,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."

View File

@@ -246,7 +246,7 @@ src_compile() {
local swift_version="$(eselect swift show | tail -n1 | xargs)"
if [[ "${swift_version}" != swift-* ]]; then
# Swift may be unset; we can use the latest available.
swift_Version="$(eselect swift show --latest | tail -n1 | xargs)"
swift_version="$(eselect swift show --latest | tail -n1 | xargs)"
fi
[[ "${swift_version}" == swift-* ]] || die "No Swift version found for bootstrapping."