[gtk2hs-buildtools] only cat the last .s file
Jens Petersen
petersen at fedoraproject.org
Mon Sep 6 06:59:10 UTC 2010
commit 62d53898456ec21459450bbc1b12638b306e4ea7
Author: Jens Petersen <petersen at redhat.com>
Date: Mon Sep 6 16:59:13 2010 +1000
only cat the last .s file
gtk2hs-buildtools.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk2hs-buildtools.spec b/gtk2hs-buildtools.spec
index 44f3492..62e43c0 100644
--- a/gtk2hs-buildtools.spec
+++ b/gtk2hs-buildtools.spec
@@ -41,7 +41,7 @@ the gtk2hs libraries themselves.
%build
#%%ghc_bin_build
%cabal_configure --ghc -v3 --ghc-option=-keep-tmp-files
-%cabal build -v3 || cat /tmp/ghc*/ghc*.s
+%cabal build -v3 || cat `ls /tmp/ghc*/ghc*.s | tail -1`
exit 1
%cabal haddock %{?with_hscolour:--hyperlink-source}
More information about the scm-commits
mailing list