awx/tools/scripts/awx-python
2017-07-25 13:31:52 -04:00

10 lines
222 B
Bash
Executable File

#!/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 "$@"