Re: regression: checkpatch.pl fails when called via symlink

From: Joe Perches
Date: Wed Oct 22 2014 - 08:20:26 EST


On Wed, 2014-10-22 at 13:43 +0300, Jani Nikula wrote:
> Since commit 66b47b4a9dad00e45c049d79966de9a3a1f4d337
> Author: Kees Cook <keescook@xxxxxxxxxxxx>
> Date: Mon Oct 13 15:51:57 2014 -0700
>
> checkpatch: look for common misspellings
>
> checkpatch.pl dies with
>
> checkpatch.pl: Can't open /path/to/spelling.txt for reading: No such file or directory
>
> if it's called through a symlink in /path/to/checkpatch.pl pointing at
> the actual script.
>
> Please fail graciously, and just ignore spelling if you can't find
> spelling.txt. Or better yet, follow the links if you can.

I agree it should fail better, but I'm also curious.
Why you want to use a symlink?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/