Date: Saturday, December 18, 2010 @ 11:20:05 Author: rtoy Path: /project/cmucl/cvsroot/src/tools Tag: cross-sol-x86-branch
Modified: make-dist.sh
Support solaris/x86.
--------------+ make-dist.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-)
Index: src/tools/make-dist.sh diff -u src/tools/make-dist.sh:1.17 src/tools/make-dist.sh:1.17.4.1 --- src/tools/make-dist.sh:1.17 Thu Sep 30 17:21:41 2010 +++ src/tools/make-dist.sh Sat Dec 18 11:20:05 2010 @@ -9,7 +9,7 @@ # you extracted the two tarballs and the source distribution into that # directory. # -# $Header: /project/cmucl/cvsroot/src/tools/make-dist.sh,v 1.17 2010-09-30 21:21:41 rtoy Exp $ +# $Header: /project/cmucl/cvsroot/src/tools/make-dist.sh,v 1.17.4.1 2010-12-18 16:20:05 rtoy Exp $
usage() { echo "make-dist.sh: [-hbg] [-G group] [-O owner] [-I destdir] [-M mandir] dir version [arch os]" @@ -52,11 +52,16 @@ def_arch_os () { case `uname -s` in SunOS) - ARCH=sparcv9 + case `uname -m` in + sun*) + ARCH=sparcv9 ;; + i*) + ARCH=x86 ;; + esac uname_r=`uname -r` case $uname_r in - 5.*) rel=`echo $uname_r | sed 's/5.//'`;; - *) rel=$uname_r;; + 5.*) rel=`echo $uname_r | sed 's/5.//'`;; + *) rel=$uname_r;; esac OS=solaris$rel ;;