[commit: testsuite] master: Fix library way detection; fixes the ImpSafeOnly* tests when BINDIST=YES (b32d38a)

Páli Gábor János pali.gabor at gmail.com
Sun May 12 15:50:17 CEST 2013


On Sun, May 12, 2013 at 3:02 PM, Ian Lynagh <ian at well-typed.com> wrote:
> Oh, sorry, it's actually
>     make show VALUE=BASE_LIBDIR BINDIST=YES
> that we want.

BASE_LIBDIR=""/usr/home/user/ghc-working/bindisttest/install
dir/lib/ghc-7.7.20130510/base-4.7.0.0" /usr/local/lib"

> what does the actual shell command look like once all the
> make variable expansion has happened?

if [ -f /usr/home/user/ghc-working/libraries/base/dist-install/build
/usr/local/lib/Prelude.hi ]; then echo YES; else echo NO; fi



More information about the ghc-devs mailing list