Gedare Bloom has submitted this change and it was merged. (
https://gem5-review.googlesource.com/3260 )
Change subject: util: generate fully qualified paths for cscope
......................................................................
util: generate fully qualified paths for cscope
Change-Id: I318c185b117b9608110544526fbaaa3fdcdeb8bc
Signed-off-by: Gedare Bloom <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/3260
Reviewed-by: Jason Lowe-Power <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
---
M util/cscope-index.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
diff --git a/util/cscope-index.py b/util/cscope-index.py
index 1e65323..a27c5ec 100755
--- a/util/cscope-index.py
+++ b/util/cscope-index.py
@@ -46,8 +46,9 @@
return False
file_list = file('cscope.files', 'w')
+cwd = os.getcwd()
-for dirpath,subdirs,files in os.walk('src'):
+for dirpath,subdirs,files in os.walk(os.path.join(cwd, 'src')):
# filter out undesirable subdirectories
for i,dir in enumerate(subdirs):
if dir == 'SCCS':
--
To view, visit https://gem5-review.googlesource.com/3260
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I318c185b117b9608110544526fbaaa3fdcdeb8bc
Gerrit-Change-Number: 3260
Gerrit-PatchSet: 2
Gerrit-Owner: Gedare Bloom <[email protected]>
Gerrit-Reviewer: Gedare Bloom <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev