summaryrefslogtreecommitdiffstats
path: root/jjb/ci_gate_security
diff options
context:
space:
mode:
authoragardner <agardner@linuxfoundation.org>2017-08-24 15:43:34 -0400
committeragardner <agardner@linuxfoundation.org>2017-08-24 15:43:34 -0400
commitd668e8fe8ec02bc26f0856242eb7468e61051e40 (patch)
tree74118474af5ba6360d1dae70d355258449ffc973 /jjb/ci_gate_security
parent6be64db117f494bdb6d59b17676e5341c2f9c3a9 (diff)
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 <agardner@linuxfoundation.org>
Diffstat (limited to 'jjb/ci_gate_security')
-rw-r--r--jjb/ci_gate_security/anteater-report-to-gerrit.sh2
1 files changed, 1 insertions, 1 deletions
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 \