summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
committerDavid Seifert <soap@gentoo.org>2024-10-08 17:31:51 +0200
commitec9bd064a3b2e495970f49d751d57ca62fa77b84 (patch)
tree0a1a294097c36a0874a30275e2d199a4259e0741 /eclass/vcs-snapshot.eclass
parentxdg.eclass: drop support for EAPI 6 (diff)
downloadgentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.gz
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.tar.bz2
gentoo-ec9bd064a3b2e495970f49d751d57ca62fa77b84.zip
eclass: standardize inherit guard
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/vcs-snapshot.eclass')
-rw-r--r--eclass/vcs-snapshot.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass
index 0279e89ec3ab..14b9a8dd22ff 100644
--- a/eclass/vcs-snapshot.eclass
+++ b/eclass/vcs-snapshot.eclass
@@ -47,7 +47,7 @@ case ${EAPI} in
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-if [[ ! ${_VCS_SNAPSHOT_ECLASS} ]]; then
+if [[ -z ${_VCS_SNAPSHOT_ECLASS} ]]; then
_VCS_SNAPSHOT_ECLASS=1
# @FUNCTION: vcs-snapshot_src_unpack