Skip to content

Commit

Permalink
Fix lint on shell script example
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukancagatay committed Nov 18, 2022
1 parent be527a1 commit 5e87a29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/filter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
CONTENT_FILE="${1}"
ENVELOPE_FILE="${2}"

FROM="`awk '/X-MailRelay-From:/ {print $2;exit}' \"${ENVELOPE_FILE}\"`"
TO="`awk '/X-MailRelay-To-Remote:/ {print $2;exit}' \"${ENVELOPE_FILE}\"`"
CLIENT_IP="`awk '/MailRelay-Client:/ {print $2;exit}' \"${ENVELOPE_FILE}\"`"
FROM="$(awk '/X-MailRelay-From:/ {print $2;exit}' \"${ENVELOPE_FILE}\")"
TO="$(awk '/X-MailRelay-To-Remote:/ {print $2;exit}' \"${ENVELOPE_FILE}\")"
CLIENT_IP="$(awk '/MailRelay-Client:/ {print $2;exit}' \"${ENVELOPE_FILE}\")"
#############################################################################


Expand Down

0 comments on commit 5e87a29

Please sign in to comment.