diff options
author | Darin Morrison <darinmorrison+git@gmail.com> | 2013-09-26 00:08:28 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2013-10-11 23:08:00 -0500 |
commit | feb76385b6eb88ceb8c3bd0a21d9723a607e2944 (patch) | |
tree | 12aed248e3cb25a26e0a2242cd05b03daadc9738 /rts/RtsProbes.d | |
parent | 7186bdb1007cce27bf98ec9d96c9fe1d07099f0b (diff) | |
download | haskell-feb76385b6eb88ceb8c3bd0a21d9723a607e2944.tar.gz |
Fix mkdirhier.sh on OS X 10.9 (#8139)
Mac OS X 10.9 mkdir is apparently stricter than the Mac OS X 10.8
mkdir about which paths are considered valid arguments. For example,
in a typical build on Mac OS X 10.9, the first of the following
invocations of mkdirhier.sh will succeed but the second will fail:
"inplace/bin/mkdirhier" utils/ghc-cabal/dist/build/tmp//. # WORKS
"inplace/bin/mkdirhier" bootstrapping/. # FAILS
Simply prefixing the path arguments with "./" causes both to succeed:
"inplace/bin/mkdirhier" ./utils/ghc-cabal/dist/build/tmp//. # WORKS
"inplace/bin/mkdirhier" ./bootstrapping/. # WORKS
Testing indicates failure on paths satisfying all of these criteria:
- path is suffixed with "/."
- path is only 1 level deep (e.g., "foo/."; _not_ "foo/bar/.")
- path is _not_ prefixed with "./"
This workaround prefixes "./" to the path argument passed to mkdir.
Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'rts/RtsProbes.d')
0 files changed, 0 insertions, 0 deletions