Skip to content

Commit

Permalink
Create .ssh if it does not exist (#7062)
Browse files Browse the repository at this point in the history
Signed-off-by: David Windell <david@outeredgeuk.com>
  • Loading branch information
davidwindell authored and Roman Iuvshyn committed Oct 30, 2017
1 parent fab1c4f commit 63302f9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

SCRIPT_FILE=~/.ssh/git.sh

mkdir -p ~/.ssh

token=$(if [ "$USER_TOKEN" != "dummy_token" ]; then echo "$USER_TOKEN"; fi)
che_host=$(cat /etc/hosts | grep che-host | awk '{print $1;}')
api_url=$(if [ "$CHE_API" != "http://che-host:8080/wsmaster/api" ]; then echo "$CHE_API"; else echo "$che_host:8080/api"; fi)
Expand Down

0 comments on commit 63302f9

Please sign in to comment.