summaryrefslogtreecommitdiffstats
path: root/coverity-scan.sh
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2022-03-30 12:32:58 -0400
committerGitHub <noreply@github.com>2022-03-30 12:32:58 -0400
commit30e654e62d5350c316f863610950fb2049539226 (patch)
treeb3aa71ac43accdb34029865066ba3f70919ac641 /coverity-scan.sh
parentcdcc3097592428f41f1e2527d9d602291777605a (diff)
Fix coverity scan. (#12561)
Diffstat (limited to 'coverity-scan.sh')
-rwxr-xr-xcoverity-scan.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/coverity-scan.sh b/coverity-scan.sh
index f8486de020..a745b07dd3 100755
--- a/coverity-scan.sh
+++ b/coverity-scan.sh
@@ -159,11 +159,11 @@ installit() {
fatal "Failed to install coverity."
fi
- # Clean temp directory
- [ -n "${TMP_DIR}" ] && rm -rf "${TMP_DIR}"
-
progress "Coverity scan tools are installed."
cd "$ORIGINAL_DIR"
+
+ # Clean temp directory
+ [ -n "${TMP_DIR}" ] && rm -rf "${TMP_DIR}"
return 0
}