From cf24bee42d28321d690f4651d74a6be9bfbd7a97 Mon Sep 17 00:00:00 2001 From: graehl Date: Mon, 26 Jul 2010 05:13:17 +0000 Subject: vest git-svn-id: https://ws10smt.googlecode.com/svn/trunk@417 ec762483-ff6d-05da-a07a-a48fb63a330f --- vest/dist-vest.pl | 4 ++-- 1 file 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; -- cgit v1.2.3