diff options
author | Ales Tamchyna <a.tamchyna@gmail.com> | 2011-09-09 20:30:09 +0400 |
---|---|---|
committer | Ales Tamchyna <a.tamchyna@gmail.com> | 2011-09-09 20:30:09 +0400 |
commit | 8a32ce26679f1acb1f9a58a5133a09129548ef4b (patch) | |
tree | f30229e7d93d6a9ee1393f0d5169d025c32b0953 /cruise-control | |
parent | 028928b05843bcacff608d51e07c196e24824a40 (diff) |
bugfixes
Diffstat (limited to 'cruise-control')
-rwxr-xr-x | cruise-control/test_all_new_commits.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cruise-control/test_all_new_commits.sh b/cruise-control/test_all_new_commits.sh index ae043f51a..0a4fb0888 100755 --- a/cruise-control/test_all_new_commits.sh +++ b/cruise-control/test_all_new_commits.sh @@ -35,6 +35,8 @@ LOGDIR=$(readlink -f "$LOGDIR") WORKDIR=$MCC_WORKDIR [ -d "$WORKDIR" ] || WORKDIR=$USE_TEMPDIR/workdir +MYDIR=$(pwd) + # this is where moses is taken from GITREPO="$MCC_GITREPO" [ -n "$GITREPO" ] || GITREPO=/home/obo/moses-at-google-code @@ -137,14 +139,14 @@ function run_single_test () { fi srilm_dir=$(echo $MCC_CONFIGURE_ARGS | sed -E 's/.*--with-srilm=([^ ]+) .*/\1/') mach_type=$($srilm_dir/sbin/machine-type) - cat cruise-control/config.ems \ + cat $MYDIR/config.ems \ | sed \ -e "s#WORKDIR#$WORKDIR#" \ -e "s#SRILMDIR#$srilm_dir#" \ -e "s#MACHINE_TYPE#$mach_type#" \ > ./config.ems scripts/ems/experiment.perl \ - -no-graph -config `pwd`/config.ems &>> $longlog \ + -no-graph -config -exec `pwd`/config.ems &>> $longlog \ || err="ems" fi |