diff options
Diffstat (limited to 'vest/dist-vest.pl')
-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; |