unlike what's shown in #3897, if only the first argument ends in a dot the directory should still be copied
gnu cp 9.5:
mkdir x
cp -r x/. y # directory y is created
mkdir x
touch x/foo
cp -r x/. y # directory y is created with file foo
uutils 0.0.30:
mkdir x
cp -r x/. y # directory y isn't created
mkdir x
touch x/foo
cp -r x/. y # command fails with following error
cp: '($PWD)/x/./foo' -> 'y/foo': No such file or directory (os error 2)
mkmm relies on this behaviour