added argparse support to build

This commit is contained in:
TKE
2020-04-17 11:29:19 +02:00
parent fa146c51a7
commit 6c75a0c392
3 changed files with 39 additions and 29 deletions

View File

@@ -40,7 +40,7 @@ let hash_count=$(cat "/nsrl/${hashfile_name}"|wc -l )-1
echo "[INFO] /nsrl/${hashfile_name} contains ${hash_count} Hashes"
echo "[INFO] Build bloomfilter from NSRL Database ..."
cd /nsrl && python /nsrl/build.py $error_rate
cd /nsrl && python /nsrl/build.py -e "${error_rate}" -n "${hash_count}"
echo "[INFO] Listing created files ..."
ls -lah /nsrl