diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-04-19 15:07:57 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2018-04-19 18:06:15 -0400 |
commit | 8fa688a84f4e4d86096710edd1f0d19bac3eea90 (patch) | |
tree | ebc9f91cce2f50c61fcff5e04881f28e0c6d42c5 /boot | |
parent | cbd73bbbb7df080d5204098aa02e5f5d0d48823c (diff) | |
download | haskell-8fa688a84f4e4d86096710edd1f0d19bac3eea90.tar.gz |
boot: Fix computation of TOP
Test Plan: Run `./boot`, check to make sure that
`libraries/ghc-prim/GNUmakefile` is sane
Subscribers: thomie, carter, sjakobi
Differential Revision: https://phabricator.haskell.org/D4580
Diffstat (limited to 'boot')
-rwxr-xr-x | boot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -116,7 +116,7 @@ def boot_pkgs(): if os.path.isfile(cabal): # strip both .cabal and .in pkg = os.path.splitext(os.path.splitext(os.path.basename(cabal))[0])[0] - top = package + top = os.path.join(*['..'] * len(os.path.normpath(package).split(os.path.sep))) ghc_mk = os.path.join(package, 'ghc.mk') print('Creating %s' % ghc_mk) |