diff options
author | astro <astronautguo@gmail.com> | 2018-04-28 02:52:20 +0300 |
---|---|---|
committer | astro <astronautguo@gmail.com> | 2018-04-28 02:52:20 +0300 |
commit | f47e670f20f9ae1a9737d00c5ca12344d69e2e9d (patch) | |
tree | bfae8adcb634651a39028d9bb85e2301e3b7d466 /scripts/ems/support | |
parent | 5a7c31e5d123ac6b785eee2ca4d03d255c55df07 (diff) |
fix bug when copying to cache
Diffstat (limited to 'scripts/ems/support')
-rwxr-xr-x | scripts/ems/support/cache-model.perl | 2 |
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`; } |