mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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}" "$@"
|