From 59435b8d0e38ac68f52d13b735bbc6fa1ee1f359 Mon Sep 17 00:00:00 2001
From: Igor Witz <igor.witz@etu.utc.fr>
Date: Thu, 22 Nov 2018 00:29:46 +0100
Subject: [PATCH] Update get-modified-image.sh,
 pica-etherpad/clair-whitelist.yml files

---
 get-modified-image.sh             | 6 +-----
 pica-etherpad/clair-whitelist.yml | 2 +-
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/get-modified-image.sh b/get-modified-image.sh
index c1a26f9c..0fe55f19 100644
--- a/get-modified-image.sh
+++ b/get-modified-image.sh
@@ -4,16 +4,12 @@
 # this script should become obsolete as soon as a proper way of getting the modified files is added to Gitlab CI
 
 RES=""
-echo "fesse"
 for i in $(git diff-tree --no-commit-id --name-only $CI_COMMIT_SHA)
 do
 	case "$i" in
-		*pica*) echo "yes" ;;
+		*pica*) RES=$i ;;
 	esac
-	echo $i
 done
-echo "babouche"
-printf '%s' "$RES"
 if [[ "$i" == "" ]]
 then
 	exit 1
diff --git a/pica-etherpad/clair-whitelist.yml b/pica-etherpad/clair-whitelist.yml
index 17d02ffe..e1f59602 100644
--- a/pica-etherpad/clair-whitelist.yml
+++ b/pica-etherpad/clair-whitelist.yml
@@ -13,4 +13,4 @@ generalwhitelist:
     CVE-2017-1000408: glibc -> Pas de contre mesure
     CVE-2018-6954: systemd -> Pas de contre mesure
     CVE-2016-7167: curl -> Paquet utilisé uniquement pour le healthcheck sur l'URL 127.0.0.1 -> 
-    CVE-2018-6797: Perl est une dépendance du client mysql et la version non vulnérable dans stretch n'a pas été backportée -> Pas de contre-mesure
\ No newline at end of file
+    CVE-2018-6797: Perl est une dépendance du client mysql et la version non vulnérable dans stretch n'a pas été backportée -> Pas de contre-mesure 
\ No newline at end of file
-- 
GitLab