mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-05-03 21:54:53 +02:00
codacy, checkstyle, upgrades, etc.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
CLI_LOCATION=~/.local/dependency-check-1.2.11
|
||||
CLI_SCRIPT=$CLI_LOCATION/bin/dependency-check.sh
|
||||
NVD_PATH=$1/`date -I -d $2`
|
||||
NVD_PATH=$1/$(date -I -d $2)
|
||||
NVD=file://$NVD_PATH
|
||||
shift 2 # We've used the first two params. The rest go to CLI_SCRIPT.
|
||||
$CLI_SCRIPT --cveUrl20Base $NVD/nvdcve-2.0-%d.xml.gz \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
NVD_ROOT=$1/`date -I`
|
||||
NVD_ROOT=$1/$(date -I)
|
||||
JAR_PATH=$2/nist-data-mirror-1.0.0.jar
|
||||
java -jar $JAR_PATH $NVD_ROOT
|
||||
rm $NVD_ROOT/*.xml # D-C works directly with .gz files anyway.
|
||||
Reference in New Issue
Block a user