FreeCalypso > hg > tcs211-c139
view g23m/winebuild.sh @ 18:ffee43b74949
checking in tpudrv12 source adapted for C139 in TCS211 environment
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 01 Nov 2015 05:40:24 +0000 |
parents | dc9d25ac72a9 |
children | c56a4b0bcf38 |
line wrap: on
line source
#!/bin/sh # Something in TI's nasty build mechanism (at least when running under wine) # messes up the tty modes and fails to restore them upon finish. # This shell script wraps the needed wine invokation (nowhine actually, # itself a whine-suppressing wrapper around wine) with some stty magic # to preserve and restore the tty modes. # # Also added the TZ=GMT setting: without it Wine produces additional whines # about not being able to map my Unix timezone to a Weenie equivalent. if [ -n "$1" ] then config="$1" else config=2091 fi set -x tty_mode_save=`stty -g` TZ=GMT nowhine cmd /c build_${config}.bat stty "$tty_mode_save"