From a82b0510bd7d5b2458e096c3276ca6aae5f979c0 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Sat, 10 Feb 2018 00:26:16 +0100
Subject: [PATCH] Fix matplotlibrc path

---
 gitlab/functions.sh       | 2 +-
 gitlab/recipe_append.yaml | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/gitlab/functions.sh b/gitlab/functions.sh
index 33b634f..78b1d7b 100644
--- a/gitlab/functions.sh
+++ b/gitlab/functions.sh
@@ -443,5 +443,5 @@ export_env LC_ALL
 
 # Set up the location of matplotlibrc:
 # https://matplotlib.org/users/customizing.html#the-matplotlibrc-file
-MATPLOTLIBRC="_ci"
+MATPLOTLIBRC="${CI_PROJECT_DIR}/_ci"
 export_env MATPLOTLIBRC
diff --git a/gitlab/recipe_append.yaml b/gitlab/recipe_append.yaml
index 0ccd3b2..dcfb307 100644
--- a/gitlab/recipe_append.yaml
+++ b/gitlab/recipe_append.yaml
@@ -1,4 +1,3 @@
 build:
   script_env:
     - DOCSERVER
-    - MATPLOTLIBRC
-- 
GitLab