tools: Fix mkinstalldirs.
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 15 Jun 2006 16:05:07 +0000 (18:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Jun 2006 12:15:53 +0000 (14:15 +0200)
commitfb7afa42693f5304d8f827ceebeba2d6359d4e5e
treecfab6ed25039be3052882697e00a67bee1cd4fc8
parent739f4187eb8380a16fd4a4e5011105ba465317e3
tools: Fix mkinstalldirs.

We cannot trust 'mkdir -p' to set the proper permissions on parent
directories. So create them manually.
Fix handling of paths containing spaces.
Properly prefix the path with './' if it starts with a '-'.
Stop trying to create a path after the first error.
tools/mkinstalldirs