From f1a738340f3e2ac5b14febbf9faf330d56765507 Mon Sep 17 00:00:00 2001
From: kytv <kytv@mail.i2p>
Date: Sun, 29 Jun 2014 11:37:24 +0000
Subject: [PATCH] checkcerts.sh: remove unnecessary `echo`s

---
 tests/scripts/checkcerts.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/scripts/checkcerts.sh b/tests/scripts/checkcerts.sh
index 60fe6537af..55820a2133 100755
--- a/tests/scripts/checkcerts.sh
+++ b/tests/scripts/checkcerts.sh
@@ -95,7 +95,7 @@ checkcert() {
         # Certtool's format: Mon Mar 07 16:08:35 UTC 2022
         DATA=$(certtool -i < "$1" | sed -e '/Not\sAfter/!d' -e 's/^.*:\s\(.*\)/\1/')
         # The formatting is normalized for passing to the date2julian function (if needed)
-        set -- `echo $DATA`
+        set -- $DATA
         DATA="$2 $3 $4 $6 GMT"
     fi
     echo $DATA
@@ -128,7 +128,7 @@ compute_dates() {
         SECS=$(date -u -d "$EXPIRES" '+%s')
         DAYS="$(expr \( $SECS - $NOW \) / 86400)"
     else
-        set -- `echo $EXPIRES`
+        set -- $EXPIRES
         # date2julian needs the format mm dd yyyy
         SECS=$(date2julian `getmonth $1` $2 $4)
         DAYS=$(expr $SECS - $NOW)
-- 
GitLab