6 ms·
I encountered a bug once with an open source package where it contained both a file called Makefile and makefile. Is this a good practice? No. Would it be easy
by tonyarkles 10y ago
I encountered a bug once with an open source package where it contained both a file called Makefile and makefile. Is this a good practice? No. Would it be easy to miss, because make will by default open makefile first and only fall back to Makefile if makefile doesn't exist? Yes.
Edit: Makefile existed in the tarball after makefile, so it would overwrite the real makefile with whatever junk was in Makefile, and it would fail to build.