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]> --- M util/cscope-index.py 1 file changed, 2 insertions(+), 1 deletion(-) 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: newchange Gerrit-Change-Id: I318c185b117b9608110544526fbaaa3fdcdeb8bc Gerrit-Change-Number: 3260 Gerrit-PatchSet: 1 Gerrit-Owner: Gedare Bloom <[email protected]> _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
Gedare Bloom has uploaded this change for review. (
https://gem5-review.googlesource.com/3260
- [gem5-dev] Change in public/gem5[master]: util: gene... Gedare Bloom (Gerrit)
- [gem5-dev] Change in public/gem5[master]: util:... Gedare Bloom (Gerrit)
