2020-11-26 16:00:55 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
|
|
import sys
|
2021-01-26 10:49:01 +08:00
|
|
|
|
2020-11-26 16:00:55 +01:00
|
|
|
expected_executable = sys.argv[1]
|
|
|
|
|
active_executable = sys.executable
|
|
|
|
|
if expected_executable != active_executable:
|
2021-01-26 10:49:01 +08:00
|
|
|
print('Failure. Expected executable does not match current executable.')
|
|
|
|
|
print('Expected:', expected_executable)
|
|
|
|
|
print('Active: ', active_executable)
|
2020-11-26 16:00:55 +01:00
|
|
|
sys.exit(1)
|