aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2024-09-25 10:39:28 +0200
committerUlrich Müller <ulm@gentoo.org>2024-09-28 21:33:58 +0200
commit4f98f96490d3b691092f09556bbce54ec1613b9d (patch)
tree76b275855b51cad8eba93b44046e06075c8034af
parentebuild-writing/messages: Change ewarn to eqawarn in the example code (diff)
downloaddevmanual-4f98f96490d3b691092f09556bbce54ec1613b9d.tar.gz
devmanual-4f98f96490d3b691092f09556bbce54ec1613b9d.tar.bz2
devmanual-4f98f96490d3b691092f09556bbce54ec1613b9d.zip
ebuild-writing/error-handling: Fix example
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--ebuild-writing/error-handling/text.xml2
1 files changed, 1 insertions, 1 deletions
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>