Skip to content
Snippets Groups Projects
Commit f76c5a08 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Marge Bot
Browse files

ghc.mk: amend 'make sdist'


Noticed 'make sdist' failure seen as:

```
"rm" -rf sdistprep/ghc/ghc-9.1.0.20201020/hadrian/_build/ (SRC_DIST_GHC_DIR)/hadrian/dist-newstyle/
/bin/sh: -c: line 0: syntax error near unexpected token `('
```

commit 9657f6f3
("sdist: Include hadrian sources in source distribution")
added a new cleanup path without a variable expantion.

The change adds variable reference. While at it move directory
cleanup to a separate statement.

Amends #18794

Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
parent 0b3d23af
No related branches found
No related tags found
No related merge requests found
Loading
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