diff options
author | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-26 05:13:17 +0000 |
---|---|---|
committer | graehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f> | 2010-07-26 05:13:17 +0000 |
commit | ec734c5fda0397f47d664b2118b348dd9d8f6070 (patch) | |
tree | 529176542541fe68c413bacb01d3e5b8d8f4b31e | |
parent | f4cd7f6014af08601bec9ee9cfb1cfeb56880eaa (diff) |
vest
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@417 ec762483-ff6d-05da-a07a-a48fb63a330f
-rwxr-xr-x | vest/dist-vest.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vest/dist-vest.pl b/vest/dist-vest.pl index f537e8b0..2789b6fd 100755 --- a/vest/dist-vest.pl +++ b/vest/dist-vest.pl @@ -174,7 +174,7 @@ sub modbin { my $src=$$_; $$_="$bindir/".`basename $src`; `cp $src $$_`; - die ""cp $src $$_" failed: $!" unless $? == 0; + die "cp $src $$_ failed: $!" unless $? == 0; } } sub dirsize { @@ -190,7 +190,7 @@ if ($dryrun){ } else { -e $dir || mkdir $dir; mkdir "$dir/hgs"; - modbin($bindir,\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize) if $cpbin; + modbin("$dir/bin",\$cdec,\$SCORER,\$MAPINPUT,\$MAPPER,\$REDUCER,\$parallelize) if $cpbin; mkdir "$dir/scripts"; my $cmdfile="$dir/rerun-vest.sh"; open CMD,'>',$cmdfile; |