From: Jonathan Campbell Date: Fri, 8 Sep 2017 20:15:07 +0000 (-0700) Subject: more X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=d40ef7f62ff3e5bd49ffec3b06c881cfa8d02bdb;p=16.git more --- diff --git a/simulate-sparky4-watcom-env.sh b/simulate-sparky4-watcom-env.sh index 4392dcf0..4b28a4f1 100644 --- a/simulate-sparky4-watcom-env.sh +++ b/simulate-sparky4-watcom-env.sh @@ -39,7 +39,18 @@ INCLUDE=$watcom/h:$watcom/h/dos:$watcom/lh:$watcom/h/os2 WIPFC=$watcom/wipfc LIB=$watcom/lib286/dos:$watcom/lib386:$watcom/lib386/dos:$watcom/lib286:$ROOT/lib export OS REXX WATCOM ROOT TOOLS INCLUDE LIB WIPFC -. ~/setvars.sh + +if [ -d /usr/src/open-watcom-v2/rel ]; then + # Jon's Linux system + cur=`pwd` + cd $WATCOM/.. || exit 1 + . ./setvars.sh + cd "$cur" || exit 1 +else + # original sparky4 config + . ~/setvars.sh +fi + PATH=$watcom/binl${PEE}:$TOOLS:$ROOT:$PATH WD_PATH=$watcom/binl${PEE}