summaryrefslogtreecommitdiff
path: root/utils/mkdirhier/mkdirhier.sh
Commit message (Collapse)AuthorAgeFilesLines
* Fix mkdirhier.sh on OS X 10.9 (#8139)Darin Morrison2013-10-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* mkdirhier now just calls mkdir -pIan Lynagh2009-11-071-42/+1
| | | | The old shell code apparently didn't work properly with /bin/sh=dash
* mkdirhier.sh now accepts -q, which makes it be quietIan Lynagh2008-06-271-1/+12
|
* Reorganisation of the source treeSimon Marlow2006-04-071-0/+34
Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.