Make packaging work with our internal build systems

This commit is contained in:
Shane McDonald
2017-07-19 15:55:05 -04:00
parent 3892e4e389
commit 17db724932
3 changed files with 17 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/bash
# Enable Tower virtualenv
if [ -f /var/lib/awx/venv/tower/bin/activate ]; then
. /var/lib/awx/venv/tower/bin/activate
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