install, mkdir: Handle dir/./ like dir/. by julian-klode · Pull Request #8366 · uutils/coreutils
The dir/. special case was handled correctly, but dir/./ was not, breaking gcc builds, which run:
../../../../src/libstdc++-v3/../install-sh -c -d debug/./
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2117466