Skip to content

Commit

Permalink
Remove leading space in cmd output
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed May 2, 2018
1 parent f83f7c9 commit c6dd565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/cert-gen
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fi
###

# Command
cmd=" openssl req \
cmd="openssl req \
-newkey rsa:${DEF_KEYSIZE} \
-nodes \
-extensions v3_req \
Expand Down Expand Up @@ -256,7 +256,7 @@ fi

# Command
# shellcheck disable=SC1117
cmd=" openssl x509 \
cmd="openssl x509 \
-req \
-extensions v3_req \
-extfile <(printf '[ req ]\nreq_extensions = v3_req\n[ v3_req ]\nsubjectAltName=${ALT_NAMES}\n') \
Expand Down

0 comments on commit c6dd565

Please sign in to comment.