6 lines
245 B
Bash
6 lines
245 B
Bash
|
#!/usr/bin/env bash
|
||
|
# Wrapper to use the correct Python interpreter and support code coverage.
|
||
|
ABS_SCRIPT=$(python -c "import os; print(os.path.abspath('../../../../contrib/inventory/ec2.py'))")
|
||
|
cd "${OUTPUT_DIR}"
|
||
|
python.py "${ABS_SCRIPT}" "$@"
|