You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/03/16 15:13:42 UTC
cvs commit: apache-1.3/src/helpers GuessOS
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.
#