From 4ce11c1b31dd824bf2ca9f24d5eb444c6e7fb0e7 Mon Sep 17 00:00:00 2001
From: Andre Maroneze <andre.oliveiramaroneze@cea.fr>
Date: Fri, 18 Jan 2019 19:59:07 +0100
Subject: [PATCH] [fc-script] use relative paths in results of find-fun

---
 share/analysis-scripts/find_fun.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/analysis-scripts/find_fun.py b/share/analysis-scripts/find_fun.py
index b8a3565da0b..5ef92a69b62 100755
--- a/share/analysis-scripts/find_fun.py
+++ b/share/analysis-scripts/find_fun.py
@@ -101,8 +101,8 @@ else:
    if possible_declarators != []:
       print("Possible declarations for function '%s' in the following file(s):"
             % fname)
-      print("  " + "\n  ".join(possible_declarators))
+      print("  " + "\n  ".join(map(os.path.relpath, possible_declarators)))
    if possible_definers != []:
       print("Possible definitions for function '%s' in the following file(s):"
             % fname)
-      print("  " + "\n  ".join(possible_definers))
+      print("  " + "\n  ".join(map(os.path.relpath, possible_definers)))
-- 
GitLab