When the MACHINE string has slashes, a binary distribution file name
has slashes too, but that messes up binbuild.sh as well as any manual
handling of the file.

This simple change replaces any slashes in the MACHINE string with
hyphens.

Any concerns/suggestions before I commit?

Index: GuessOS
===================================================================
RCS file: /cvs/apache/apache-1.3/src/helpers/GuessOS,v
retrieving revision 1.71
diff -u -r1.71 GuessOS
--- GuessOS     2001/02/16 14:27:18     1.71
+++ GuessOS     2001/03/13 11:07:57
@@ -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.
 #


-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to