]> 4ch.mooo.com Git - 16.git/commitdiff
adapt for Jon's system
authorJonathan Campbell <jonathan@castus.tv>
Fri, 8 Sep 2017 20:07:59 +0000 (13:07 -0700)
committerJonathan Campbell <jonathan@castus.tv>
Fri, 8 Sep 2017 20:07:59 +0000 (13:07 -0700)
simulate-sparky4-watcom-env.sh

index ca40cbc62a79a55eab3e13264e5d7d136c491b68..4392dcf0d9428611eb0995cf92294797acdf4585 100644 (file)
@@ -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