mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
use awk to convert the pem to one line (#889)
I tried the `sed` command, but on OSX this outputs the certificate with newlines unchanged. This `awk` command does the job.
This commit is contained in:
parent
e1d17b693e
commit
c60cc7fe9d
@ -35,7 +35,7 @@ Download your JWT signing X509 certificate by visiting URL:
|
||||
Convert the file into one-line, this will be required later:
|
||||
|
||||
```shell
|
||||
$ cat filename.pem | sed -E ':a;N;$!ba;s/\r{0,1}\n/\\n/g'
|
||||
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' yourauth0subdomain.pem
|
||||
```
|
||||
|
||||
## Deploy Hasura GraphQL Engine
|
||||
|
Loading…
Reference in New Issue
Block a user