Skip to content
Snippets Groups Projects
Commit 8fa688a8 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

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
parent cbd73bbb
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment