httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apache-1.3/src/helpers GuessOS
Date Fri, 16 Mar 2001 14:13:42 GMT
trawick     01/03/16 06:13:41

  Modified:    src/helpers GuessOS
  Log:
  Change any slashes in the "uname -m" output to underbars.  HP machines
  have slashes in the name, and a slash in the machine name, and thus the
  name of a binary distribution, messes up binbuild.sh (among other things).
  
  Revision  Changes    Path
  1.73      +2 -0      apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.72
  retrieving revision 1.73
  diff -u -r1.72 -r1.73
  --- GuessOS	2001/02/28 08:46:35	1.72
  +++ GuessOS	2001/03/16 14:13:40	1.73
  @@ -33,6 +33,8 @@
   SYSTEM=`(uname -s) 2>/dev/null`  || SYSTEM="unknown"
   VERSION=`(uname -v) 2>/dev/null` || VERSION="unknown"
   
  +# Some HP machines have slashes.
  +MACHINE=`echo ${MACHINE}|sed -e 's/\//_/'`
   
   # Now test for ISC and SCO, since it is has a braindamaged uname.
   #
  
  
  

Mime
View raw message