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 () { ...@@ -37,11 +37,12 @@ def_arch_os () {
case `uname -s` in case `uname -s` in
SunOS) SunOS)
ARCH=sparcv9 ARCH=sparcv9
case `uname -r` in uname_r=`uname -r`
5.10) OS=solaris10 ;; case $uname_r in
5.9) OS=solaris9 ;; 5.*) rel=`echo $uname_r | sed 's/5\.//'`;;
5.8) OS=solaris8 ;; *) rel=$uname;;
esac esac
OS=solaris$rel
;; ;;
Linux) Linux)
ARCH=x86 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