From db084da9be011160d9e324e1c8c2a2877b3f027f Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.anjos@idiap.ch>
Date: Wed, 21 Dec 2016 16:31:54 +0100
Subject: [PATCH] Use bob_dbmanage.py installed on the virtualenv

---
 gitlab/before_test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gitlab/before_test.sh b/gitlab/before_test.sh
index 93033b2..26cd4f6 100755
--- a/gitlab/before_test.sh
+++ b/gitlab/before_test.sh
@@ -26,6 +26,6 @@ fi
 run_cmd ${use_pip} install --upgrade --use-wheel --no-index --pre dist/*.whl
 
 # Downloads databases that may be missing (not shipped with python pkg)
-if [ -x ./bin/bob_dbmanage.py ]; then
-  run_cmd ./bin/bob_dbmanage.py all download --missing;
+if [ -x ${PREFIX}/bin/bob_dbmanage.py ]; then
+  run_cmd ${PREFIX}/bin/bob_dbmanage.py all download --missing;
 fi
-- 
GitLab