diff options
-rw-r--r-- | plugin/newebuild.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/newebuild.vim b/plugin/newebuild.vim index 166713d..fddbc59 100644 --- a/plugin/newebuild.vim +++ b/plugin/newebuild.vim @@ -47,15 +47,15 @@ fun! <SID>MakeNewEbuild() put ='# @BLURB: ' put ='# @DESCRIPTION:' put ='' - let l:eclass_ident = substitute(toupper(l:eclass), "[^A-Z0-9]", "_", "g") - put ='if [[ ! ${_' . l:eclass_ident . '} ]]; then' - put ='_' . l:eclass_ident . '=1' - put ='' put ='case ${EAPI} in' put =' 8) ;;' put =' *) die \"${ECLASS}: EAPI ${EAPI} unsupported.\"' put ='esac' put ='' + let l:eclass_ident = substitute(toupper(l:eclass), "[^A-Z0-9]", "_", "g") + put ='if [[ ! ${_' . l:eclass_ident . '} ]]; then' + put ='_' . l:eclass_ident . '=1' + put ='' put ='fi' " }}} |