Skip to content

Commit

Permalink
modified config-is-tile/task.sh because extra / invalidates custom cert
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Bryant committed Jul 23, 2018
1 parent 73c71e7 commit ae05a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/config-is-tile/task.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ if [[ -z "$NETWORKING_POE_SSL_CERT_PEM" ]]; then
elif [[ "$NETWORKING_POE_SSL_CERT_PEM" =~ "\\r" ]]; then
echo "No tweaking needed"
else
export NETWORKING_POE_SSL_CERT_PEM=$(echo "$NETWORKING_POE_SSL_CERT_PEM" | awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}')
export NETWORKING_POE_SSL_CERT_PRIVATE_KEY_PEM=$(echo "$NETWORKING_POE_SSL_CERT_PRIVATE_KEY_PEM" | awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}')
export NETWORKING_POE_SSL_CERT_PEM=$(echo "$NETWORKING_POE_SSL_CERT_PEM" | awk 'NF {sub(/\r/, ""); printf "%s\n",$0;}')
export NETWORKING_POE_SSL_CERT_PRIVATE_KEY_PEM=$(echo "$NETWORKING_POE_SSL_CERT_PRIVATE_KEY_PEM" | awk 'NF {sub(/\r/, ""); printf "%s\n",$0;}')
fi

common_properties=$($JQ_CMD -n \
Expand Down

0 comments on commit ae05a6f

Please sign in to comment.