summaryrefslogtreecommitdiff
path: root/ghc-bootstrap-binary.spec
diff options
context:
space:
mode:
Diffstat (limited to 'ghc-bootstrap-binary.spec')
-rw-r--r--ghc-bootstrap-binary.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc-bootstrap-binary.spec b/ghc-bootstrap-binary.spec
index cfc627d..4de0cd0 100644
--- a/ghc-bootstrap-binary.spec
+++ b/ghc-bootstrap-binary.spec
@@ -69,11 +69,12 @@ cp %{SOURCE4} .
%define sysname unknown
%endif
-tar Jxf ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux.tar.xz
tar xf alex-%{alex_ver}.tar.gz
tar xf happy-%{happy_ver}.tar.gz
%build
+tar Jxf ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux.tar.xz
+cd ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux
%install
pushd ghc-%{ghc_ver}-%{longarch}-%{sysname}-linux