mirror of https://github.com/openXC7/prjxray.git
download-latest: clean files
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
8fec0bf3a0
commit
f2cfce1d78
|
|
@ -1,6 +1,14 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
GITHUB_PROTO=${1:-https}
|
||||
GITHUB_URL=$GITHUB_PROTO://github.com/SymbiFlow/prjxray-db.git
|
||||
rm -rf database
|
||||
git clone $GITHUB_URL database
|
||||
# Causes confusion if you try to commit in DB dir
|
||||
# But doesn't effect most people, probably leave as is
|
||||
# rm -rf database/.git
|
||||
# travis, .gitignore, etc
|
||||
rm -f database/* 2>/dev/null
|
||||
rm -f database/.* 2>/dev/null
|
||||
# Restore settings files so fuzzers run correctly
|
||||
git checkout HEAD database
|
||||
|
|
|
|||
Loading…
Reference in New Issue