Use an absolute path for `PYTHONPATH`.

Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/a569ea82
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/a569ea82
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/a569ea82

Branch: refs/heads/TINKERPOP-1442-master
Commit: a569ea823e2cc179352f1c76dd2959ac9529ee1c
Parents: 6467063
Author: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Authored: Wed Sep 14 22:24:32 2016 +0200
Committer: Daniel Kuppitz <daniel_kupp...@hotmail.com>
Committed: Wed Sep 14 22:24:32 2016 +0200

----------------------------------------------------------------------
 docs/preprocessor/preprocess-file.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/a569ea82/docs/preprocessor/preprocess-file.sh
----------------------------------------------------------------------
diff --git a/docs/preprocessor/preprocess-file.sh 
b/docs/preprocessor/preprocess-file.sh
index 1e54c8e..c7b4f5e 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}" -v 
PYTHONPATH="./gremlin-python/target/classes/Lib" |
+  awk -f ${AWK_SCRIPTS}/init-code-blocks.awk -v TP_HOME="${TP_HOME}" -v 
PYTHONPATH="${TP_HOME}/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   |

Reply via email to