diff options
author | 2023-01-02 13:25:25 +0100 | |
---|---|---|
committer | 2023-01-02 14:30:14 +0100 | |
commit | 9e4f5360b69558799c6974ed72248b86d09c6549 (patch) | |
tree | 010c2f2a5fb7df2e616442400eaac933b9e47556 | |
parent | GentooGetUser(): Drop --global option for git config (diff) | |
download | gentoo-syntax-9e4f5360b69558799c6974ed72248b86d09c6549.tar.gz gentoo-syntax-9e4f5360b69558799c6974ed72248b86d09c6549.tar.bz2 gentoo-syntax-9e4f5360b69558799c6974ed72248b86d09c6549.zip |
newebuild: Use standard clause for unsupported EAPI in new eclasses
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | plugin/newebuild.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index fddbc59..fd3eb4f 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -49,7 +49,7 @@ fun! <SID>MakeNewEbuild() put ='' put ='case ${EAPI} in' put =' 8) ;;' - put =' *) die \"${ECLASS}: EAPI ${EAPI} unsupported.\"' + put =' *) die \"${ECLASS}: EAPI ${EAPI:-0} not supported\" ;;' put ='esac' put ='' let l:eclass_ident = substitute(toupper(l:eclass), "[^A-Z0-9]", "_", "g") |