Check if spice preferred version was found before fallback

This commit is contained in:
Matt Guthaus 2016-11-10 11:44:48 -08:00
parent f3f2171f89
commit c318a7d1bb
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ def set_spice():
OPTS.spice_exe = spice_exe
break
if not OPTS.force_spice:
if not OPTS.force_spice and OPTS.spice_exe == "":
# if we didn't find the preferred version, try the other version and warn
prev_version=OPTS.spice_version
if OPTS.spice_version == "hspice":