From 250c22f6568f0e9e476cda5645232c55316464c6 Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Wed, 13 Sep 2017 10:01:34 +0200 Subject: [PATCH] Fix missed directory --- config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 4240ed0..a74f144 100755 --- a/config.sh +++ b/config.sh @@ -1,5 +1,6 @@ #!/bin/bash +mkdir -p ~/.ssh if [[ -n "$SSH_PRIVATE_KEY" ]]; then echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa @@ -9,7 +10,6 @@ else fi # set or ignore know_hosts file -mkdir -p ~/.ssh if [[ -n "$KNOW_HOSTS_LINE" ]]; then echo $KNOW_HOSTS_LINE > ~/.ssh/known_hosts else