[ARVADOS] updated: 1.1.3-218-g8534232
Git user
git at public.curoverse.com
Thu Mar 15 15:28:36 EDT 2018
Summary of changes:
tools/arvbox/bin/arvbox | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 853423204238e6a545e1e352c4142cf30e89586d (commit)
from 05bf879dfb195871e67eedecba6f654943c39250 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 853423204238e6a545e1e352c4142cf30e89586d
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date: Thu Mar 15 15:28:02 2018 -0400
Fix 'arvbox log' to propagate terminal size, no issue #
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>
diff --git a/tools/arvbox/bin/arvbox b/tools/arvbox/bin/arvbox
index 3429a1b..a597150 100755
--- a/tools/arvbox/bin/arvbox
+++ b/tools/arvbox/bin/arvbox
@@ -433,9 +433,9 @@ case "$subcmd" in
log)
if test -n "$1" ; then
- exec docker exec -ti $ARVBOX_CONTAINER /usr/bin/env TERM=$TERM less --follow-name -R +GF "/etc/service/$1/log/main/current"
+ exec docker exec -ti -e LINES=$(tput lines) -e COLUMNS=$(tput cols) -e TERM=$TERM $ARVBOX_CONTAINER less --follow-name -R +GF "/etc/service/$1/log/main/current"
else
- exec docker exec -ti $ARVBOX_CONTAINER /usr/bin/env TERM=$TERM tail $(docker exec -ti $ARVBOX_CONTAINER find -L /etc -path '/etc/service/*/log/main/current' -printf " %p")
+ exec docker exec -ti $ARVBOX_CONTAINER tail $(docker exec -ti $ARVBOX_CONTAINER find -L /etc -path '/etc/service/*/log/main/current' -printf " %p")
fi
;;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list