diff options
Diffstat (limited to 'package/package_user_agent.sh')
-rwxr-xr-x | package/package_user_agent.sh | 7 |
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 |