summaryrefslogtreecommitdiff
path: root/vest/dist-vest.pl
diff options
context:
space:
mode:
authorgraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-26 05:13:17 +0000
committergraehl <graehl@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-07-26 05:13:17 +0000
commitec734c5fda0397f47d664b2118b348dd9d8f6070 (patch)
tree529176542541fe68c413bacb01d3e5b8d8f4b31e /vest/dist-vest.pl
parentf4cd7f6014af08601bec9ee9cfb1cfeb56880eaa (diff)
vest
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@417 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'vest/dist-vest.pl')
-rwxr-xr-xvest/dist-vest.pl4
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;