From da17db519415a8b5bfcbe34089cbb5cc3b40c0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Traizet?= <cedric.traizet@c-s.fr> Date: Fri, 3 Jul 2020 13:53:58 +0200 Subject: [PATCH] BUG: use find and mv instead of only mv, as the Doxygen contains too many items for mv --- CI/deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CI/deploy.sh b/CI/deploy.sh index c2308c0dd3..4c5b4fbe06 100755 --- a/CI/deploy.sh +++ b/CI/deploy.sh @@ -90,6 +90,8 @@ then tar -xf ${jobs_directory}/OTB-Doxygen-*.tar.bz2 -C ${jobs_directory}/ ssh otbpush@otb5-vm2.orfeo-toolbox.org \ rm -rf /home/otbpush/test/Doxygen/* + # Too many args for mv ssh otbpush@otb5-vm2.orfeo-toolbox.org \ - mv ${jobs_directory}/html/* /home/otbpush/test/Doxygen/ + "cd /home/otbpush/test/latest/html && find . -mindepth 1 \ + -exec mv {} /home/otbpush/test/Doxygen \;" fi -- GitLab