Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorastro <astronautguo@gmail.com>2018-04-28 02:52:20 +0300
committerastro <astronautguo@gmail.com>2018-04-28 02:52:20 +0300
commitf47e670f20f9ae1a9737d00c5ca12344d69e2e9d (patch)
treebfae8adcb634651a39028d9bb85e2301e3b7d466 /scripts
parent5a7c31e5d123ac6b785eee2ca4d03d255c55df07 (diff)
fix bug when copying to cache
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ems/support/cache-model.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/ems/support/cache-model.perl b/scripts/ems/support/cache-model.perl
index 9d71d9072..a42e2a38c 100755
--- a/scripts/ems/support/cache-model.perl
+++ b/scripts/ems/support/cache-model.perl
@@ -112,7 +112,7 @@ sub cache_file {
else {
# okay, go for it
`touch $cached_path$suffix.lock`;
- `cp $path$suffix $cached_path$suffix`;
+ `cp -r $path$suffix $cached_path$suffix`;
`rm $cached_path$suffix.lock`;
}