From f5058e8ab35bf031d8fde8817d50c3a011dbb49d Mon Sep 17 00:00:00 2001 From: Jonathan Campbell Date: Fri, 8 Sep 2017 13:07:59 -0700 Subject: [PATCH] adapt for Jon's system --- simulate-sparky4-watcom-env.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/simulate-sparky4-watcom-env.sh b/simulate-sparky4-watcom-env.sh index ca40cbc6..4392dcf0 100644 --- a/simulate-sparky4-watcom-env.sh +++ b/simulate-sparky4-watcom-env.sh @@ -6,8 +6,17 @@ #echo Open Watcom Build Environment ROOT=/home/sparky4/p/osfree watcomver="" -watcom=/dos/fdos/watcom${watcomver} -WATCOM=$watcom + +if [ -d /usr/src/open-watcom-v2/rel ]; then + # Jon's Linux system + watcom=/usr/src/open-watcom-v2/rel + WATCOM=$watcom +else + # original sparky4 config + watcom=/dos/fdos/watcom${watcomver} + WATCOM=$watcom +fi + OS=LINUX ENV=LINUX SHELL=Bourne -- 2.39.5