Commit b2f326d5 authored by Pablo Panero's avatar Pablo Panero
Browse files

patch: fix oauth patch script to find pipenv site-packages

parent 5b71acdc
#!/usr/bin/env bash
rm -f /usr/lib/python2.7/site-packages/invenio_oauthclient/contrib/
cp /code/scripts/patch/ /usr/lib/python2.7/site-packages/invenio_oauthclient/contrib/
\ No newline at end of file
location=$(pipenv run pip show invenio-oauthclient | grep Location | awk '{print $2}')
rm -f ${location}/invenio_oauthclient/contrib/
cp /${WORKING_DIR}/src/scripts/patch/ ${location}/invenio_oauthclient/contrib/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment