1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00
awx/tools/scripts/awx-python

10 lines
222 B
Plaintext
Raw Normal View History

#!/bin/bash
# Enable Tower virtualenv
if [ -f /var/lib/awx/venv/awx/bin/activate ]; then
. /var/lib/awx/venv/awx/bin/activate
fi
# Run the requested Python command, using the interpreter from the path
exec python "$@"