commit:     17092aa93264173f6d3a0773a127d286a3e7dbc4
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 26 13:37:43 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Wed Dec 26 13:37:43 2018 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=17092aa9

ebuild-writing/functions/src_install: Fix syntax error in example.

Closes: https://bugs.gentoo.org/673748
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ebuild-writing/functions/src_install/text.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebuild-writing/functions/src_install/text.xml 
b/ebuild-writing/functions/src_install/text.xml
index 308c718..cf453e9 100644
--- a/ebuild-writing/functions/src_install/text.xml
+++ b/ebuild-writing/functions/src_install/text.xml
@@ -46,7 +46,7 @@ For EAPIs 4 and later, the default <c>src_install</c> 
function is the following:
 </p>
 <codesample lang="ebuild">
 src_install() {
-       if [[ -f Makefile ]] || [[ -f GNUmakefile]] || [[ -f makefile ]] ; then
+       if [[ -f Makefile ]] || [[ -f GNUmakefile ]] || [[ -f makefile ]] ; then
                emake DESTDIR="${D}" install
        fi
 

Reply via email to