dinstallCDE.src: add linux and *BSD support
authorchase <chase@localhost.com>
Fri, 25 May 2018 18:51:21 +0000 (13:51 -0500)
committerJon Trulson <jon@radscan.com>
Fri, 25 May 2018 18:59:36 +0000 (12:59 -0600)
cde/admin/IntegTools/dbTools/dinstallCDE.src

index a579a3c8c887a93c044bb68cd95c242902012146..b1496c976c916b79cdc4b47d3445c7d91152460f 100755 (executable)
@@ -154,6 +154,22 @@ XCOMM
   then
     PLATFORM=sun
     PLATFORM_SCRIPT_DIR=sun
+  elif [ $BUILDSYSTEM = "Linux" ];
+  then
+    PLATFORM=linux
+    PLATFORM_SCRIPT_DIR=linux
+  elif [ $BUILDSYSTEM = "FreeBSD" ];
+  then
+    PLATFORM="freebsd"
+    PLATFORM_SCRIPT_DIR="freebsd"
+  elif [ $BUILDSYSTEM = "OpenBSD" ];
+  then
+    PLATFORM="openbsd"
+    PLATFORM_SCRIPT_DIR="openbsd"
+  elif [ $BUILDSYSTEM = "NetBSD" ];
+  then
+    PLATFORM="netbsd"
+    PLATFORM_SCRIPT_DIR="netbsd"
   else                 # Build system = HP
     PLATFORM=hp-ux
     PLATFORM_SCRIPT_DIR=hp