Repository: incubator-joshua
Updated Branches:
  refs/heads/master 9b951d99a -> 95a79848e


use first reference if lots are available

This should be updated to use all the references


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

Branch: refs/heads/master
Commit: f197f2f6cf037c32e626d0bd55f2dcc57253413a
Parents: 9b951d9
Author: Matt Post <p...@cs.jhu.edu>
Authored: Wed Oct 12 10:02:37 2016 -0400
Committer: Matt Post <p...@cs.jhu.edu>
Committed: Wed Oct 12 10:02:37 2016 -0400

----------------------------------------------------------------------
 bin/meteor | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-joshua/blob/f197f2f6/bin/meteor
----------------------------------------------------------------------
diff --git a/bin/meteor b/bin/meteor
index 6c9edf0..78da856 100755
--- a/bin/meteor
+++ b/bin/meteor
@@ -24,4 +24,9 @@ output=$1
 reference=$2
 lang=$3
 
+
+if [[ ! -e $reference ]]; then
+  reference=$reference.0
+fi
+
 java -Xmx2G -jar $METEOR/meteor-*.jar $output $reference -l $lang

Reply via email to