X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fdocumentation-file-ref-check;h=7187ea5e5149b47d00d8a01d9b8edf7373a93bc4;hb=bbd91626f71c1582301044f5942751eeb4ca98ba;hp=c71832b2312b94ba31ef060860bb9c6c04717183;hpb=9b031c86506cef9acae45e61339fcf9deaabb793;p=linux-2.6-microblaze.git diff --git a/scripts/documentation-file-ref-check b/scripts/documentation-file-ref-check index c71832b2312b..7187ea5e5149 100755 --- a/scripts/documentation-file-ref-check +++ b/scripts/documentation-file-ref-check @@ -24,7 +24,7 @@ my $help = 0; my $fix = 0; my $warn = 0; -if (! -d ".git") { +if (! -e ".git") { printf "Warning: can't check if file exists, as this is not a git tree\n"; exit 0; }