Commit 1a68e011 authored by Carina Antunes's avatar Carina Antunes
Browse files

add utility

parent 04be6ad6
......@@ -29,7 +29,7 @@ secrets/
env/
*.ini
.env*.dev
.env*.*
# Debug and other logs
......
# Utility for debug purposes: Replace which package/module you want to replace
readonly LOCATION=$(pip show invenio-records-rest | grep Location | awk '{print $2}')
readonly SCRIPT_PATH=$(dirname $0)
rm -f ${LOCATION}/invenio_records_rest/views.py
cp ${SCRIPT_PATH}/views.py ${LOCATION}/invenio_records_rest/views.py
Markdown is supported
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