awx/tools/scripts/tower-python
2016-10-25 16:12:41 +05:30

10 lines
226 B
Bash
Executable File

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