mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
12 lines
327 B
Python
12 lines
327 B
Python
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
expected_executable = sys.argv[1]
|
|
active_executable = sys.executable
|
|
if expected_executable != active_executable:
|
|
print('Failure. Expected executable does not match current executable.')
|
|
print('Expected:', expected_executable)
|
|
print('Active: ', active_executable)
|
|
sys.exit(1)
|