2018-12-29 15:41:12 +01:00
|
|
|
#!/usr/bin/env bash
|
2020-04-16 10:50:39 +02:00
|
|
|
# Copyright (C) 2017-2020 The Project X-Ray Authors.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a ISC-style
|
|
|
|
|
# license that can be found in the LICENSE file or at
|
|
|
|
|
# https://opensource.org/licenses/ISC
|
|
|
|
|
#
|
|
|
|
|
# SPDX-License-Identifier: ISC
|
2017-12-20 15:52:34 +01:00
|
|
|
|
2017-12-21 11:19:43 +01:00
|
|
|
GITHUB_PROTO=${1:-https}
|
2017-12-20 15:52:34 +01:00
|
|
|
GITHUB_URL=$GITHUB_PROTO://github.com/SymbiFlow/prjxray-db.git
|
|
|
|
|
rm -rf database
|
|
|
|
|
git clone $GITHUB_URL database
|
2019-02-06 08:27:34 +01:00
|
|
|
# Update files in the database from our version so fuzzers run correctly.
|
2018-12-29 15:41:12 +01:00
|
|
|
git checkout HEAD database
|