CMUCL commit: src/tools (make-dist.sh)
Alex Goncharov
agoncharov at common-lisp.net
Sat Jan 23 19:34:04 CET 2010
Date: Saturday, January 23, 2010 @ 13:34:04
Author: agoncharov
Path: /project/cmucl/cvsroot/src/tools
Modified: make-dist.sh
Be prepared for future Solaris versions when building a distro.
--------------+
make-dist.sh | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Index: src/tools/make-dist.sh
diff -u src/tools/make-dist.sh:1.13 src/tools/make-dist.sh:1.14
--- src/tools/make-dist.sh:1.13 Sat Jan 23 13:02:53 2010
+++ src/tools/make-dist.sh Sat Jan 23 13:34:04 2010
@@ -37,11 +37,12 @@
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
More information about the cmucl-commit
mailing list