From 9e27627ec1f57d23f52ce3e0c8aa232c7a58b9b3 Mon Sep 17 00:00:00 2001
From: Florian Fischer <florian.fl.fischer@fau.de>
Date: Wed, 8 May 2019 20:20:04 +0200
Subject: [PATCH] use abspaths in globalvars

---
 src/globalvars.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/globalvars.py b/src/globalvars.py
index 7bf3de7..6048f1c 100644
--- a/src/globalvars.py
+++ b/src/globalvars.py
@@ -19,13 +19,13 @@ allocbenchdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentf
 allocbenchdir = os.path.dirname(allocbenchdir)
 
 """Path of the build directory"""
-builddir = "build"
+builddir = os.path.join(allocbenchdir, "build")
 
 """Directory were the benchmark results are stored"""
 resdir = None
 
 """Source directory for all benchmarks"""
-benchsrcdir = "src/benchmarks"
+benchsrcdir = os.path.join(allocbenchdir, "src", "benchmarks")
 
 """List of available benchmarks"""
 benchmarks = [e[:-3] for e in os.listdir(os.path.join(allocbenchdir, benchsrcdir))
-- 
GitLab