940bbe18b6cc0fb8b0ca1162b5bf0b1405ea0734
Let's suppose that /usr/tmp exists and one wants /usr/tmp/a/b If one runs "mkdir -p /usr/tmp/a/b/" (the '/' at the end is important), then a "File exists" error comes up. Example: $ rm -rf /usr/tmp/a $ mkdir -p /usr/tmp/a/b/ /usr/tmp/a/b/: File exists This breaks gcc47 installation when C++ is enabled, and this isn't the behaviour of mkdir on NetBSD nor Linix. This patch fixes the above issue by dropping the trailing '/'.
Description
No description provided
Languages
C
78%
Roff
10.6%
Assembly
4.6%
Shell
3.8%
Makefile
1.5%
Other
1.1%