diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-18 11:23:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-18 11:23:12 +0100 |
commit | d60e4dae3dc5265042f92d4632ab719a4231cc5b (patch) | |
tree | af6e1a12412c7d6a5a85ea9d7f10bda6da508980 | |
parent | 9359ab004dac40ceecb748ed6308a20beecba464 (diff) | |
download | vulns-d60e4dae3dc5265042f92d4632ab719a4231cc5b.tar.gz |
scripts/cve_update: don't set unbound checking until AFTER we check some things.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-x | scripts/cve_update | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cve_update b/scripts/cve_update index cb64cf8d..f8c874bc 100755 --- a/scripts/cve_update +++ b/scripts/cve_update @@ -23,9 +23,6 @@ # bippy -# don't use unset variables -set -o nounset - # set where the tool was run from, # the name of our script, # and the git version of it @@ -42,6 +39,9 @@ if [[ "${TMPDIR}" == "" ]]; then exit 1 fi +# don't use unset variables +set -o nounset + cd "${DIR}"/../ || exit 1 for id in cve/published/*/*.sha1 ; do |