Skip to content
Snippets Groups Projects
Commit 0fea65ae authored by agoncharov's avatar agoncharov
Browse files

Be prepared for future Solaris versions when building a distro.

parent 44c44b01
No related branches found
No related tags found
No related merge requests found
......@@ -37,11 +37,12 @@ def_arch_os () {
case `uname -s` in
SunOS)
ARCH=sparcv9
case `uname -r` in
5.10) OS=solaris10 ;;
5.9) OS=solaris9 ;;
5.8) OS=solaris8 ;;
uname_r=`uname -r`
case $uname_r in
5.*) rel=`echo $uname_r | sed 's/5\.//'`;;
*) rel=$uname;;
esac
OS=solaris$rel
;;
Linux)
ARCH=x86
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment