From d668e8fe8ec02bc26f0856242eb7468e61051e40 Mon Sep 17 00:00:00 2001 From: agardner Date: Thu, 24 Aug 2017 15:43:34 -0400 Subject: Remove final ' placed at the end of each line by sed I dont think the ' does anything good, as it ends up in the output remove extraneous cat Change-Id: I4ca62672aa361d370275bd74864f0fc179da9f0b Signed-off-by: agardner --- jjb/ci_gate_security/anteater-report-to-gerrit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jjb/ci_gate_security') diff --git a/jjb/ci_gate_security/anteater-report-to-gerrit.sh b/jjb/ci_gate_security/anteater-report-to-gerrit.sh index 00a78ceba..a749d1db4 100644 --- a/jjb/ci_gate_security/anteater-report-to-gerrit.sh +++ b/jjb/ci_gate_security/anteater-report-to-gerrit.sh @@ -13,7 +13,7 @@ if [[ -e securityaudit.log ]] ; then EXITSTATUS=1 fi - cat securityaudit.log | awk -F"ERROR - " '{print $2}' | sed -e "s/\"/\\\\\"/g;s/\'/\\\\\'/g"> shortlog + awk -F"ERROR - " '{print $2}' securityaudit.log | sed -e "s/\"/\\\\\"/g;s/\'/\\\\/g"> shortlog ssh -p 29418 gerrit.opnfv.org \ "gerrit review -p $GERRIT_PROJECT \ -- cgit 1.2.3-korg