Don't remove the database.

Why was the download-latest-db.sh doing a clone and then removing all
the stuff it just cloned?

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-02-06 18:27:34 +11:00
parent 7412a1b695
commit 2927f1c572
1 changed files with 1 additions and 7 deletions

View File

@ -4,11 +4,5 @@ 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
# Update files in the database from our version so fuzzers run correctly.
git checkout HEAD database