Fix recursive adding of files in DSID subdirectories in commit script
Description of bug
In !1588 (merged) the line
for file in $(find $dsiddir/* -not -type d); do
was replaced with
for newfile in glob.glob(f'{dsiddir}/*', recursive = True):
which is not equivalent. The latter fails to expand subdirectories and as a result if we have files in a structure like DSID/Herwig7_i/SomeModule.py
, SubModule.py
is not added to the commit.
Changes introduced
Fix globbing pattern
Tests
Before
After
Issues resolved
Closes #