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 | cf24bee42d28321d690f4651d74a6be9bfbd7a97 (patch) | |
tree | e91a4a862fd6f0379fde3e735294b4279e1e40a4 | |
parent | 88b1d3caaee0fb3a4b7c4b9e48a023e6504fec62 (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; |