Reverse the order of glob spec files in accordance with
git ls-tree spec files.
Fixes: #1270
Change-Id: I9eca3af4c1170e8309ce0c46f42f2593ae09e235
check = lambda fname, dir_only = False: os.path.exists(os.path.join(
git_path, fname))
glob_ = lambda pattern: [ name.replace(git_path+'/', '')
- for name in glob.glob(os.path.join(git_path, pattern)) ]
+ for name in reversed(glob.glob(os.path.join(git_path, pattern))) ]
msg = 'No such spec file %s'
else:
check = lambda fname, dir_only = False : file_exists_in_rev(git_path,