diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-18 11:22:19 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-18 11:22:19 +0100 |
commit | 9359ab004dac40ceecb748ed6308a20beecba464 (patch) | |
tree | b868aed3926cf46da5f7aa95eed89649012aa75f | |
parent | deea50aedda3f320453b94a1126878b684423be5 (diff) | |
download | vulns-9359ab004dac40ceecb748ed6308a20beecba464.tar.gz |
scripts/cve_update: make sure TMPDIR is set properly
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-x | scripts/cve_update | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/cve_update b/scripts/cve_update index 5fdcb466..cb64cf8d 100755 --- a/scripts/cve_update +++ b/scripts/cve_update @@ -37,6 +37,11 @@ help() { exit 1 } +if [[ "${TMPDIR}" == "" ]]; then + echo "TMPDIR environment variable must be set, exiting ${SCRIPT}" + exit 1 +fi + cd "${DIR}"/../ || exit 1 for id in cve/published/*/*.sha1 ; do |