From 2927f1c572923a0f53775af360b66b748be4163f Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Wed, 6 Feb 2019 18:27:34 +1100 Subject: [PATCH] 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 --- download-latest-db.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/download-latest-db.sh b/download-latest-db.sh index a01c44d1..8d0ce8aa 100755 --- a/download-latest-db.sh +++ b/download-latest-db.sh @@ -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