Make download-latest-db use https by default.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2017-12-21 11:19:43 +01:00
parent 1d30d08c82
commit 29d343a293
2 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -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