You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joe Orton <jo...@redhat.com> on 2000/10/11 15:22:10 UTC

[PATCH] fix HP-UX GuessOS string

GuessOS comes out like "9000/712-hp-hpux11.00" here... this breaks
binbuild.sh since it tries to create tar files like:

apache_1.3.14-9000/712-hp-hpux11.00.tar

This replaces the '/' with an '_' (which is what is used in the previous
HPUX binaries).

Index: GuessOS
===================================================================
RCS file: /home/cvspublic/apache-1.3/src/helpers/GuessOS,v
retrieving revision 1.68
diff -u -r1.68 GuessOS
--- GuessOS	2000/04/18 19:26:33	1.68
+++ GuessOS	2000/10/11 13:20:12
@@ -99,6 +99,7 @@
 
     HP-UX:*)
 	HPUXVER=`echo ${RELEASE}|sed -e 's/[^.]*.[0B]*//'`
+	MACHINE=`echo ${MACHINE}|sed -e 's:/:_:'`
 	echo "${MACHINE}-hp-hpux${HPUXVER}"; exit 0
 	;;
 

-- 
Joe Orton, Red Hat Europe