You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2015/09/03 19:52:16 UTC
[49/50] [abbrv] incubator-tinkerpop git commit: fixed the
extra-whitespace problem in the AsciiDoc preprocessor that occured with too
small terminal window dimensions
fixed the extra-whitespace problem in the AsciiDoc preprocessor that occured with too small terminal window dimensions
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/93bc0a82
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/93bc0a82
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/93bc0a82
Branch: refs/heads/blvp
Commit: 93bc0a8208d1dd716bcba56f25284a1cad130b25
Parents: 847642e
Author: Daniel Kuppitz <da...@hotmail.com>
Authored: Thu Sep 3 19:45:47 2015 +0200
Committer: Daniel Kuppitz <da...@hotmail.com>
Committed: Thu Sep 3 19:45:47 2015 +0200
----------------------------------------------------------------------
docs/preprocessor/preprocess.sh | 8 ++++++++
1 file changed, 8 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/93bc0a82/docs/preprocessor/preprocess.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess.sh b/docs/preprocessor/preprocess.sh
index dbd3ef0..7d78efb 100755
--- a/docs/preprocessor/preprocess.sh
+++ b/docs/preprocessor/preprocess.sh
@@ -107,6 +107,11 @@ else
fi
# process *.asciidoc files
+COLS=${COLUMNS}
+[[ ${COLUMNS} -lt 240 ]] && stty cols 240
+
+tput rmam
+
echo
echo "============================"
echo "+ Processing AsciiDocs +"
@@ -123,6 +128,9 @@ for i in {0..7}; do
[ ${ec} -eq 0 ] || break
done
+tput smam
+stty cols ${COLS}
+
if [ ${ec} -ne 0 ]; then
exit 1
else