From f3847f367d1859ff03ff8f1ea024bd0481f164cf Mon Sep 17 00:00:00 2001 From: jsh <1336983919@qq.com> Date: Wed, 5 Jul 2023 21:51:02 +0800 Subject: [PATCH] modify framework/core/Project/Tika_core.pm --- framework/core/Project/Tika_core.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/Project/Tika_core.pm b/framework/core/Project/Tika_core.pm index f1ea03032..2c6883631 100755 --- a/framework/core/Project/Tika_core.pm +++ b/framework/core/Project/Tika_core.pm @@ -82,8 +82,8 @@ sub _post_checkout { # Check whether ant build file exists unless (-e "$work_dir/build.xml") { my $build_files_dir = "$PROJECTS_DIR/$PID/build_files/$rev_id"; - if (-d "$build_files_dir") { - Utils::exec_cmd("cp $build_files_dir/* $work_dir", "Copy generated Ant build file") or die; + if (-d "$build_files_dir") { + Utils::exec_cmd("cp -r $build_files_dir/* $work_dir", "Copy generated Ant build file") or die; } }