aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-16 20:36:16 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-16 20:36:16 +0200
commit14aec3bde121c797f9131da0d4b18a932598bb8f (patch)
tree9386bd9921f1b5816ac2a92b0a1d601197af3f87
parentnewebuild: Improve eclass boilerplate (diff)
downloadgentoo-syntax-14aec3bde121c797f9131da0d4b18a932598bb8f.tar.gz
gentoo-syntax-14aec3bde121c797f9131da0d4b18a932598bb8f.tar.bz2
gentoo-syntax-14aec3bde121c797f9131da0d4b18a932598bb8f.zip
newebuild: Add ${ECLASS} to unsupported EAPI error
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--plugin/newebuild.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim
index 756b7f9..3d42564 100644
--- a/plugin/newebuild.vim
+++ b/plugin/newebuild.vim
@@ -53,7 +53,7 @@ fun! <SID>MakeNewEbuild()
put =''
put ='case ${EAPI} in'
put =' 8) ;;'
- put =' *) die \"EAPI ${EAPI} unsupported.\"'
+ put =' *) die \"${ECLASS}: EAPI ${EAPI} unsupported.\"'
put ='esac'
put =''
put ='_' . l:eclass_ident . '=1'