diff options
author | 2010-01-07 18:51:49 +0000 | |
---|---|---|
committer | 2010-01-07 18:51:49 +0000 | |
commit | ceb7a50298484d2bba2bf8071b02615e677c1820 (patch) | |
tree | f0abea5117be6508c0a74b09a4ba2e755a74b47b /bin | |
parent | MITRE sync (diff) | |
download | security-ceb7a50298484d2bba2bf8071b02615e677c1820.tar.gz security-ceb7a50298484d2bba2bf8071b02615e677c1820.tar.bz2 security-ceb7a50298484d2bba2bf8071b02615e677c1820.zip |
fix cp error message output for 2010
svn path=/; revision=1814
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/target | 2 | ||||
-rwxr-xr-x | bin/update | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ def print_targets(version, liaisons, prestable, bugno, username): line_stables = get_stable_arches(keywords, marker, line) target_keywords = target_keywords.union(line_stables) line_version = get_version(line) - if (version and line_version == version) or not version: + if (version and line_version == version) or ((not version) and line_version != "9999"): to_stable_line = lineno target_version = line_version @@ -53,7 +53,7 @@ fi echo "===============================================================================" for yr in $YEARS; do echo "[DOWNLOAD] NVD Database '$yr'" - cp ../nvdcve-$yr.xml . || touch nvdcve-$yr.xml + cp ../nvdcve-$yr.xml . 2>/dev/null || touch nvdcve-$yr.xml wget --timestamping ${VERB} http://nvd.nist.gov/download/nvdcve-$yr.xml && mv nvdcve-$yr.xml .. done |