From 4d09d6b4723b03062f5a786ed9479bebefe37a66 Mon Sep 17 00:00:00 2001 From: Glen De Cauwsemaecker Date: Wed, 26 Mar 2014 14:31:48 +0100 Subject: [PATCH] Removed ssh option (less is more) and placed now the repository in a subdir so that the db can be placed in the env path as well. --- .../batch/scripts/github_setup.bat | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat b/scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat index ce845d98a..6c8952bc3 100755 --- a/scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat +++ b/scripts/windows/coco-dev-setup/batch/scripts/github_setup.bat @@ -98,20 +98,14 @@ goto:eof goto:eof :git_checkout + md "%repository_path%" + set "repository_path=%repository_path%\coco" + call print_dashed_seperator set "git_app_path=%git_bash_path%\bin\git.exe" - call get_local_text github-process-ssh - call ask_question "!github_process_ssh!" - - if "%result%"=="true" ( - call get_config github_ssh - "%git_app_path%" clone "!github_ssh!" "%repository_path%" - echo no - ) else ( - call get_config github_url - "%git_app_path%" clone "!github_url!" "%repository_path%" - ) + call get_config github_url + "%git_app_path%" clone "!github_url!" "%repository_path%" goto:exit_git_setup goto:eof