Commit da18d3e2 authored by smurf@smurf.noris.de's avatar smurf@smurf.noris.de Committed by Linus Torvalds

[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: default avatarMatthias Urlichs <smurf@debian.org>
Acked-by: default avatarJeff Garzik <jgarzik@pobox.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 21bf8934
...@@ -27,7 +27,7 @@ echo "'| bk receive [path to repository]' or apply the patch as usual." ...@@ -27,7 +27,7 @@ echo "'| bk receive [path to repository]' or apply the patch as usual."
SEP="\n===================================================================\n\n" SEP="\n===================================================================\n\n"
echo -e $SEP echo -e $SEP
bk changes -r$REV env PAGER=/bin/cat bk changes -r$REV
echo echo
bk export -tpatch -du -h -r$REV | diffstat bk export -tpatch -du -h -r$REV | diffstat
echo; echo echo; echo
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment