diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-03-23 09:11:30 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-23 09:11:30 +0000 |
commit | 2c547487a00ee7d6b0a54a00c73e848dcee12389 (patch) | |
tree | 6b876a260352786a0e3c03fcd4ada4f2adf2fe3e /testapi | |
parent | d2917a084a93e7172b7295d98fc023d43a2c4ed5 (diff) | |
parent | d319c7b16307957423b442160f616929caaaaadd (diff) |
Merge "restore setup.cfg in case submitted by mistake"
Diffstat (limited to 'testapi')
-rwxr-xr-x | testapi/install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testapi/install.sh b/testapi/install.sh index c55691a..bf828b5 100755 --- a/testapi/install.sh +++ b/testapi/install.sh @@ -26,3 +26,6 @@ fi cp -fr 3rd_party/static opnfv_testapi/tornado_swagger python setup.py install rm -fr opnfv_testapi/tornado_swagger/static +if [ ! -z "$VIRTUAL_ENV" ]; then + sed -i -e 's#etc/opnfv_testapi =#/etc/opnfv_testapi =#g' setup.cfg +fi
\ No newline at end of file |