1#!/usr/bin/bash
2
3#----------------------------------------------------------------
4# This script is not for the direct execution.
5# Execute 'source ./setup'.
6#----------------------------------------------------------------
7
8tmp=`pwd`
9export TWLSDK_ROOT=`cygpath -m $tmp`
10echo "Set TWLSDK_ROOT: $TWLSDK_ROOT"
11
12#---- CWFOLDER_TWL is borrowed from CWFOLDER_NITRO temporally
13if [ ! -e "$CWFOLDER_TWL" ]; then
14if [ -e "$CWFOLDER_NITRO" ]; then
15export CWFOLDER_TWL=$CWFOLDER_NITRO
16echo "Set CWFOLDER_TWL: $CWFOLDER_TWL"
17else
18echo "***Error: Cannot set CodeWarrior folder for TWL."
19fi
20fi
21