X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fcheck-maintainers.sh;h=71697bb352d8a7db9553b15c09815ed484a57238;hb=3c481324baf32b98a7b7ce669ecde98a0662f07c;hp=df3f740b6e8480b3acb56e772848081fa424dde5;hpb=7ccf23c8f79216c75d10f9d546f3dddd627d0a31;p=dpdk.git diff --git a/devtools/check-maintainers.sh b/devtools/check-maintainers.sh index df3f740b6e..71697bb352 100755 --- a/devtools/check-maintainers.sh +++ b/devtools/check-maintainers.sh @@ -15,10 +15,10 @@ files () # [ ...] if [ -z "$1" ] ; then return fi - if [ -d .git ] ; then + if [ -r .git ] ; then git ls-files "$1" else - find "$1" -type f | + find $1 -type f | sed 's,^\./,,' fi | # if not ended by /