* [2.6 patch] bksend example script fix
@ 2005-02-18 9:28 Matthias Urlichs
0 siblings, 0 replies; only message in thread
From: Matthias Urlichs @ 2005-02-18 9:28 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 791 bytes --]
The "bksend" example script doesn't work if PAGER (used by "bk changes")
is set to something which doesn't fallback to plain stdout if its output
isn't a tty.
Fixed by forcing PAGER to be /bin/cat.
Signed-Off-By: Matthias Urlichs <smurf@debian.org>
diff -Nru a/Documentation/BK-usage/bksend b/Documentation/BK-usage/bksend
--- a/Documentation/BK-usage/bksend 2005-02-18 10:06:04 +01:00
+++ b/Documentation/BK-usage/bksend 2005-02-18 10:06:04 +01:00
@@ -27,7 +27,7 @@
SEP="\n===================================================================\n\n"
echo -e $SEP
-bk changes -r$REV
+env PAGER=/bin/cat bk changes -r$REV
echo
bk export -tpatch -du -h -r$REV | diffstat
echo; echo
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-02-18 9:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-18 9:28 [2.6 patch] bksend example script fix Matthias Urlichs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).