rpmgs: preserve parent directory when KEEP_DIRS contains subdir paths
When KEEP_DIRS contains 'web/node_modules', the cleanup was deleting
the 'web' parent directory because grep only matched '^web/node_modules$'
not '^web$'. Now also add parent dir to grep pattern.
Showing
Please
register
or
sign in
to comment