Package: devscripts
Version: 2.24.1
Tags: patch

Hello. When I invoke "man debbisect" in trixie/sid, I see this:

  $  DEBIAN_BISECT_SRCPKG=mysrc ./debbisect "two years ago" yesterday     > 
/usr/share/doc/devscripts/ex-
  amples/debbisect_buildsrc.sh

I guess the full path for "debbisect_buildsrc.sh" is just the last argument in 
the call,
not where we want to redirect the output.

Trivial patch attached, but it's untested.

While we are at it, I think we can assume debbisect is in the PATH, since it's 
part
of devscripts, so I don't see the need to write ./debbisect instead of 
debbisect in
the docs. For consistency, see for example debrebuild manpage:

   EXAMPLES
     $ debrebuild --buildresult=./artifacts --builder=mmdebstrap 
hello_2.10-2_amd64.buildinfo


Thanks.
diff --git a/scripts/debbisect b/scripts/debbisect
index df5e5022..48afb035 100755
--- a/scripts/debbisect
+++ b/scripts/debbisect
@@ -754,7 +754,7 @@ devscripts as 
/usr/share/doc/devscripts/examples/debbisect_buildsrc.sh and
 either use it unmodified like this:
 
     $ DEBIAN_BISECT_SRCPKG=mysrc {progname} "two years ago" yesterday \
-    > /usr/share/doc/devscripts/examples/debbisect_buildsrc.sh
+    /usr/share/doc/devscripts/examples/debbisect_buildsrc.sh
 
 or use the script as a starting point to do your own custom builds.
 

Reply via email to