From 29d343a29380efc0494187da09d4ecbcf4cf6d1d Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Thu, 21 Dec 2017 11:19:43 +0100 Subject: [PATCH] Make download-latest-db use https by default. Signed-off-by: Tim 'mithro' Ansell --- README.md | 6 ++++-- download-latest-db.sh | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d69d2ebd..aabfa73c 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,10 @@ Pull submodules: Get a head start by downloading current database: - # Give argument `https` if you want to use to use the https protocol - # instead. + # Give the argument; + # - https if you to use the https protocol (default) + # - git+ssh if you want to use git+ssh protocol + # - git if you want to use the git protocol ./download-latest-db.sh Install CMake and build the C++ tools: diff --git a/download-latest-db.sh b/download-latest-db.sh index a5837292..bf8a8057 100755 --- a/download-latest-db.sh +++ b/download-latest-db.sh @@ -1,6 +1,6 @@ #!/bin/bash -GITHUB_PROTO=${1:-git+ssh} +GITHUB_PROTO=${1:-https} GITHUB_URL=$GITHUB_PROTO://github.com/SymbiFlow/prjxray-db.git rm -rf database git clone $GITHUB_URL database