1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-27 04:12:51 +00:00

Update osversion script to recognize Solaris 2.x running on x86_64 hardware.

modified:   bin/osversion
This commit is contained in:
Nick Briggs
2020-10-18 16:04:16 -07:00
parent 56615128e0
commit 1200763831

View File

@@ -1,22 +1,14 @@
#!/bin/sh
# Location of the add-dir-to-var program
os=`./config.guess`
# o/s switch block
case "$os" in
sparc-sun-sunos*) echo sunos4 ;;
sparc-sun-solaris1*) echo sunos4 ;;
sparc-sun-solaris2*) echo sunos5 ;;
alpha-dec-osf1) echo osf1 ;;
i386-*-solaris*) echo sunos5 ;;
*-*-solaris2*) echo sunos5 ;;
alpha-dec-osf1) echo osf1 ;;
*-apple-darwin*) echo darwin ;;
*-*-linux*) echo linux ;;
*-*-openbsd*) echo openbsd ;;
*-*-freebsd*) echo freebsd ;;
*-*-linux*) echo linux ;;
*-*-openbsd*) echo openbsd ;;
*-*-freebsd*) echo freebsd ;;
esac
### Don't leave the variables set.
### Don't leave the variable set.
unset os