<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I am not sure if this is the correct place to send this bug report, if it is not, please let me know and I’ll post it to the correct list.<div class=""><br class=""></div><div class="">I work on Texpad, a LaTeX editor for macOS/iOS and we have come across what we believe to be a bug.  I have constructed a bash script to reproduce this bug (tested on macOS 10.12 with case insensitive HFS+, and on macOS 10.13 with APFS).</div><div class=""><br class=""></div><div class="">Running the script will create 3 pdfs in the /tmp/rootdir folder, all of which I believe should come out the same, however the 3rd pdf is missing some content.  This is because a subfile has not been loaded when I think it should be.  This happens when there is both a <somename.tex> file and a <somename> folder in the output folder, the <somename.tex> file will not be used.  It does not happen if it is not in an output folder, and it does not happen if that <somename> folder is not there.</div><div class=""><br class=""></div><div class="">I have attached the script and also uploaded as a gist here <a href="https://gist.github.com/vallettaventures/484ff776d045422b07b369c905e2a3f3" class="">https://gist.github.com/vallettaventures/484ff776d045422b07b369c905e2a3f3</a></div><div class=""><br class=""></div><div class=""></div></body></html>