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]

Attachment: signature.asc
Description: Digital signature

Reply via email to