From aa99a701effc25b7df17e35ef3dfd921cb335f64 Mon Sep 17 00:00:00 2001
From: Elena.Budnik <ebudnik@irap.omp.eu>
Date: Thu, 14 May 2020 11:29:22 +0200
Subject: [PATCH] fix 2 output files for webservices

---
 src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php b/src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php
index cc3d655..5d6398c 100644
--- a/src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php
+++ b/src/InputOutput/WSImpl/Params/DownloadImpl/WSInputOutputParamsDownloadClass.php
@@ -119,7 +119,7 @@ class WSInputOutputParamsDownloadClass extends IHMInputOutputParamsAbstractClass
 		$this->paramsData->addWaitingResult(WSInputOutputClass::getService(), $resultFile.$extension);
 		
 		// internal kernel output
-		$postProcessCmd  = "mv ".$resultFilePrefix."*";
+		$postProcessCmd  = "mv ".$resultFilePrefix."*[0-9]";
 		
 		$postProcessCmd .= $extension;
 		$postProcessCmd .= " ".WSConfigClass::getWsResultDir().$resultFile.$extension;
--
libgit2 0.21.2