mirror of
https://github.com/espressif/esp-idf
synced 2025-04-02 04:40:11 -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)
|