Merge pull request #5 from mithro/download-db-fix

Make download-latest-db use https by default.
This commit is contained in:
Clifford Wolf 2017-12-21 15:29:10 +01:00 committed by GitHub
commit 022672735d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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