mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-25 11:36:31 +00:00
Maiko sources matching state as of 020102 prior to initial patching for Mac OSX
This commit is contained in:
20
bin/osversion
Executable file
20
bin/osversion
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/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 ;;
|
||||
*-*-linux*) echo linux ;;
|
||||
*-*-openbsd*) echo openbsd ;;
|
||||
esac
|
||||
|
||||
|
||||
### Don't leave the variables set.
|
||||
unset os
|
||||
Reference in New Issue
Block a user