commit:     4f98f96490d3b691092f09556bbce54ec1613b9d
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 25 08:39:28 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Sep 28 19:33:58 2024 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=4f98f964

ebuild-writing/error-handling: Fix example

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

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

diff --git a/ebuild-writing/error-handling/text.xml 
b/ebuild-writing/error-handling/text.xml
index 28dca4e..8b7f220 100644
--- a/ebuild-writing/error-handling/text.xml
+++ b/ebuild-writing/error-handling/text.xml
@@ -123,7 +123,7 @@ provides the <c>assert</c> function to check this variable.
 </p>
 
 <codesample lang="ebuild">
-bunzip2 "${DISTDIR}/${VIM_RUNTIME_SNAP}" | tar xf
+bzip2 -dc "${DISTDIR}/${VIM_RUNTIME_SNAP}" | tar -xf -
 assert
 </codesample>
 

Reply via email to