2005-02-18 09:29:04

by Matthias Urlichs

[permalink] [raw]
Subject: [2.6 patch] bksend example script fix

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 <[email protected]>

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 | [email protected]


Attachments:
(No filename) (768.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments