eclass/ruby-single: Sync with Gentoo

It's from Gentoo commit ec9bd064a3b2e495970f49d751d57ca62fa77b84.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:07:14 +00:00
parent fea6457e2b
commit 2823650ddb

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-single.eclass
@ -28,7 +28,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
if [[ ! ${_RUBY_SINGLE_ECLASS} ]]; then
if [[ -z ${_RUBY_SINGLE_ECLASS} ]]; then
_RUBY_SINGLE_ECLASS=1
inherit ruby-utils