X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2Fdocumentation-file-ref-check;h=7187ea5e5149b47d00d8a01d9b8edf7373a93bc4;hb=bbd91626f71c1582301044f5942751eeb4ca98ba;hp=c71832b2312b94ba31ef060860bb9c6c04717183;hpb=512b7d37ee0a9b4e2b5fafcd0b7c65a3f6e430ca;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; }