1 |
On Fri, 30 Mar 2012 13:59:10 +0200 |
2 |
""Paweł Hajdan, Jr."" <phajdan.jr@g.o> wrote: |
3 |
|
4 |
> > echo 'import Distribution.Simple; main = defaultMainWithHooks defaultUserHooks' \ |
5 |
> > > $setupdir/Setup.hs |
6 |
> > } |
7 |
> |
8 |
> I think there should be || die after echo, to catch out-of-disk-space |
9 |
> problems. |
10 |
|
11 |
Ok :] |
12 |
|
13 |
> > # GHC 6.4 has a bug in get/setPermission and Cabal 1.1.1 has |
14 |
> > # no workaround. |
15 |
> > # set the +x permission on executables |
16 |
> > if [[ -d "${ED}/usr/bin" ]] ; then |
17 |
> > chmod +x "${ED}/usr/bin/"* |
18 |
> > fi |
19 |
> > # TODO: do we still need this? |
20 |
> > } |
21 |
> |
22 |
> I think there should be || die after chmod. |
23 |
|
24 |
I'll remove the whole block. |
25 |
|
26 |
> > if [[ -z "${CABAL_HAS_BINARIES}" ]] && [[ -z "${CABAL_HAS_LIBRARIES}" ]]; then |
27 |
> > eerror "QA: Neither bin nor lib are in CABAL_FEATURES." |
28 |
> |
29 |
> Shouldn't this be eqawarn? |
30 |
> |
31 |
> > fi |
32 |
> > if [[ -n "${CABAL_UNKNOWN}" ]]; then |
33 |
> > ewarn "Unknown entry in CABAL_FEATURES: ${CABAL_UNKNOWN}" |
34 |
> |
35 |
> Shouldn't this be eqawarn? |
36 |
|
37 |
'eqawarn' sounds fine here. I'll push the changes to overlay first and then to the gx86. |
38 |
|
39 |
Thanks for sharing! |
40 |
|
41 |
-- |
42 |
|
43 |
Sergei |