Revert "cppcheckdata: a bit better handling for windows"
This reverts commit ef6bbcb6ad
.
This commit is contained in:
parent
ef6bbcb6ad
commit
f68b219300
|
@ -1370,11 +1370,8 @@ def reportSummary(dumpfile, summary_type, summary_data):
|
||||||
|
|
||||||
def get_path_premium_addon():
|
def get_path_premium_addon():
|
||||||
p = pathlib.Path(sys.argv[0]).parent.parent
|
p = pathlib.Path(sys.argv[0]).parent.parent
|
||||||
|
p1 = os.path.join(p, 'premiumaddon')
|
||||||
for ext in ('.exe', ''):
|
p2 = os.path.join(p, 'cppcheck')
|
||||||
p1 = os.path.join(p, 'premiumaddon' + ext)
|
|
||||||
p2 = os.path.join(p, 'cppcheck' + ext)
|
|
||||||
if os.path.isfile(p1) and os.path.isfile(p2):
|
if os.path.isfile(p1) and os.path.isfile(p2):
|
||||||
print(p1)
|
|
||||||
return p1
|
return p1
|
||||||
return None
|
return None
|
||||||
|
|
Loading…
Reference in New Issue