From 876e016d4ad5de5981858d991a8e71c6a89e8406 Mon Sep 17 00:00:00 2001 From: MDreW Date: Wed, 6 Sep 2023 09:29:17 +0200 Subject: [PATCH] fix enviroment's name and echo --- example/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example/run.sh b/example/run.sh index 066027cb..c35fd8d6 100644 --- a/example/run.sh +++ b/example/run.sh @@ -164,8 +164,8 @@ fi # import satosa keys with $SATOSA_PUBLIC_KEY and $SATOSA_PRIVATE_KEY, both must be present if [[ -v SATOSA_PRIVATE_KEY && -v SATOSA_PUBLIC_KEY ]]; then - echo $SATOSA_PRIVATE_KEYS > pki/privkey.pem - echo $SATOSA_PUBLIC_KEY > pki/cert.pem + echo "$SATOSA_PRIVATE_KEY" > pki/privkey.pem + echo "$SATOSA_PUBLIC_KEY" > pki/cert.pem echo "Satosa keys imported" else echo "satosa has loaded default keys"