Minor change to AWK to allow the docs to generate properly This provides a solution to TINKERPOP-1431
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/64670636 Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/64670636 Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/64670636 Branch: refs/heads/TINKERPOP-1442-master Commit: 64670636bdfce80a07f8a7543b78f3efdfeb53dd Parents: 079cc20 Author: Stephen Mallette <sp...@genoprime.com> Authored: Wed Sep 14 15:58:14 2016 -0400 Committer: Stephen Mallette <sp...@genoprime.com> Committed: Wed Sep 14 15:58:14 2016 -0400 ---------------------------------------------------------------------- docs/preprocessor/preprocess-file.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/64670636/docs/preprocessor/preprocess-file.sh ---------------------------------------------------------------------- diff --git a/docs/preprocessor/preprocess-file.sh b/docs/preprocessor/preprocess-file.sh index 1069928..1e54c8e 100755 --- a/docs/preprocessor/preprocess-file.sh +++ b/docs/preprocessor/preprocess-file.sh @@ -133,7 +133,7 @@ if [ ! ${SKIP} ] && [ $(grep -c '^\[gremlin' ${input}) -gt 0 ]; then sed 's/\t/ /g' ${input} | awk -f ${AWK_SCRIPTS}/prepare.awk | - awk -f ${AWK_SCRIPTS}/init-code-blocks.awk -v TP_HOME="${TP_HOME}" PYTHONPATH="." | + awk -f ${AWK_SCRIPTS}/init-code-blocks.awk -v TP_HOME="${TP_HOME}" -v PYTHONPATH="./gremlin-python/target/classes/Lib" | awk -f ${AWK_SCRIPTS}/progressbar.awk -v tpl=${AWK_SCRIPTS}/progressbar.groovy.template | HADOOP_GREMLIN_LIBS="${CONSOLE_HOME}/ext/giraph-gremlin/lib:${CONSOLE_HOME}/ext/tinkergraph-gremlin/lib" bin/gremlin.sh | ${lb} awk -f ${AWK_SCRIPTS}/ignore.awk |