summaryrefslogtreecommitdiff
path: root/package/package_user_agent.sh
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-22 14:26:38 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-22 14:26:38 -0300
commit004295c4302ad4d2400a708e77f05cf53a116cae (patch)
tree69c4b82425c25ea2086728b16db354ee590f57b2 /package/package_user_agent.sh
parent7109b03fe1f543fa61242827350b86dd93ba51f8 (diff)
fixing virtualenv shebangs when building the .deb and script to start to run unicorn
Diffstat (limited to 'package/package_user_agent.sh')
-rwxr-xr-xpackage/package_user_agent.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/package_user_agent.sh b/package/package_user_agent.sh
index 983d37b3..4aa67a70 100755
--- a/package/package_user_agent.sh
+++ b/package/package_user_agent.sh
@@ -38,9 +38,12 @@ virtualenv $PIXELATED_VIRTUALENV_PATH
. $PIXELATED_VIRTUALENV_PATH/bin/activate
pip install --upgrade pip
pip install --upgrade setuptools
-python setup.py develop
-python setup.py install
deactivate
+cd $PIXELATED_VIRTUALENV_PATH
+for file in $(grep -l '/tmp/pix-user-agent-build' bin/*); do
+ sed -i '' 's|/tmp/pix-user-agent-build||' $file;
+done
+cd -
cd ..
cp package/pixelated-user-agent $BIN_PATH