Repository: incubator-joshua Updated Branches: refs/heads/master c9f578530 -> 0990ebc07
added JOSHUA env to kenlm build invocation Project: http://git-wip-us.apache.org/repos/asf/incubator-joshua/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-joshua/commit/0990ebc0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-joshua/tree/0990ebc0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-joshua/diff/0990ebc0 Branch: refs/heads/master Commit: 0990ebc07f44073156c1c7923fee7ebaaf7677f5 Parents: c9f5785 Author: Matt Post <[email protected]> Authored: Tue Mar 29 20:58:47 2016 -0400 Committer: Matt Post <[email protected]> Committed: Tue Mar 29 20:58:47 2016 -0400 ---------------------------------------------------------------------- build.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/0990ebc0/build.xml ---------------------------------------------------------------------- diff --git a/build.xml b/build.xml index ffef0f8..6456721 100644 --- a/build.xml +++ b/build.xml @@ -63,7 +63,10 @@ </target> <target name="kenlm" depends="check-joshua-home" description="--> Build KenLM"> - <exec executable="./build_kenlm.sh" dir="${JOSHUA}/jni" /> + <exec dir="${JOSHUA}/jni" executable="/bin/bash"> + <env key="JOSHUA" path="${JOSHUA}" /> + <arg line="build_kenlm.sh" /> + </exec> </target> <target name="giza" depends="check-joshua-home" description="--> 'Make' the giza software in scripts/training/giza-pp/">
