Whamcloud - gitweb
LU-16707 scripts: make license-status more flexible 28/55928/2
authorTimothy Day <timday@amazon.com>
Sat, 3 Aug 2024 20:02:43 +0000 (16:02 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Aug 2024 23:55:00 +0000 (23:55 +0000)
commitb5b52b854e5340245a97d91e483e32cb46f48ca3
treeb0186dfc9cfb8cc85600c1772d204ced258f1879
parent88c2cc8118d38f70cc32c932e38a645636b7cfe2
LU-16707 scripts: make license-status more flexible

Accept a path argument to restrict the search to a sub-tree.
By default, use the current directory. Also, fix some shellcheck
errors.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: Iaddf0c22f8fed80947b0b511f9a56f6a35e0347b
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55928
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
contrib/scripts/license-status