diff --git a/website/scripts/amc.groovy b/website/scripts/amc.groovy index 2192f5d3..73dfe157 100644 --- a/website/scripts/amc.groovy +++ b/website/scripts/amc.groovy @@ -331,6 +331,6 @@ if (clean) { // deleting remaining files only makes sense after moving files if ('MOVE'.equalsIgnoreCase(_args.action)) { _log.info 'Clean clutter files and empty folders' - include('cleaner', [root:true], !args.empty ? args : ut_kind == 'multi' && ut_dir ? [ut_dir as File] : []) + include('cleaner', args.empty ? [root:true] : [root:false], !args.empty ? args : ut_kind == 'multi' && ut_dir ? [ut_dir as File] : []) } }