lib/scripts/ghc
changeset 69268 c1a27fce2076
parent 69267 517655a528fe
child 69929 b979e3044d8e
equal deleted inserted replaced
69267:517655a528fe 69268:c1a27fce2076
       
     1 #!/usr/bin/env bash
       
     2 #
       
     3 # Author: Makarius
       
     4 #
       
     5 # Invoke ghc via "stack".
       
     6 
       
     7 if [ -d "$ISABELLE_STACK_ROOT" ]; then
       
     8   isabelle_stack ghc -- "$@"
       
     9 else
       
    10   echo "Cannot execute ghc: missing Isabelle GHC setup" >&2
       
    11   exit 127
       
    12 fi