Add path lookup directory for Qemu on OSX.

This commit is contained in:
grossmj committed 2014-10-20 11:56:30 -06:00
1 parent b88abb7c91
commit e261263aab
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -628,6 +628,8 @@ class Qemu(IModule):
paths.append(os.path.join(os.environ["PROGRAMFILES(X86)"], "qemu"))
if "PROGRAMFILES" in os.environ and os.path.exists(os.environ["PROGRAMFILES"]):
paths.append(os.path.join(os.environ["PROGRAMFILES"], "qemu"))
elif sys.platform.startswith("darwin"):
paths.append(os.path.join(os.getcwd(), "../Resources/Qemu/bin/"))
for path in paths:
try:
for f in os.listdir(path):