mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 03:02:41 +00:00
Fix detection of Coverity archive in scan script. (#18104)
This commit is contained in:
parent
4d6bf7722f
commit
d3529e159f
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ installit() {
|
|||
debugrun curl --remote-name --remote-header-name --show-error --location --data "token=${token}&project=${repo}" https://scan.coverity.com/download/linux64
|
||||
|
||||
if [ -z "${COVERITY_BUILD_VERSION}" ]; then
|
||||
COVERITY_ARCHIVE="$(find "${TMP_DIR}" -maxdepth 0 -name 'cov-analysis-linux64-*.tar.gz' | cut -f 2 -d '/' | head -n 1)"
|
||||
COVERITY_ARCHIVE="$(find "${TMP_DIR}" -maxdepth 1 -mindepth 1 -name 'cov-analysis-linux64-*.tar.gz' | cut -f 2 -d '/' | head -n 1)"
|
||||
else
|
||||
COVERITY_ARCHIVE="${TMP_DIR}/${COVERITY_BUILD_VERSION}.tar.gz"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue