summaryrefslogtreecommitdiffstats
path: root/testapi
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-03-23 09:11:30 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-23 09:11:30 +0000
commit2c547487a00ee7d6b0a54a00c73e848dcee12389 (patch)
tree6b876a260352786a0e3c03fcd4ada4f2adf2fe3e /testapi
parentd2917a084a93e7172b7295d98fc023d43a2c4ed5 (diff)
parentd319c7b16307957423b442160f616929caaaaadd (diff)
Merge "restore setup.cfg in case submitted by mistake"
Diffstat (limited to 'testapi')
-rwxr-xr-xtestapi/install.sh3
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