Tweak the hsc2hs wrapper script
[ghc-hetmet.git] / utils / hsc2hs / hsc2hs.wrapper
1
2 tflag="--template=$datadir/template-hsc.h"
3 for arg do
4     case "$arg" in
5         -c*)          HSC2HS_EXTRA=;;
6         --cc=*)       HSC2HS_EXTRA=;;
7         -t*)          tflag=;;
8         --template=*) tflag=;;
9         --)           break;;
10     esac
11 done
12
13 exec $executablename $tflag $HSC2HS_EXTRA ${1+"$@"}