Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain Fix frobbing of UNAME_RELEASE (meant to s...



details:   https://anonhg.NetBSD.org/src/rev/04f0c51d434d
branches:  trunk
changeset: 503194:04f0c51d434d
user:      tv <tv%NetBSD.org@localhost>
date:      Fri Feb 02 16:49:11 2001 +0000

description:
Fix frobbing of UNAME_RELEASE (meant to strip _{ALPHA,BETA} endings); it
was originally just adding a trailing period.

diffstat:

 gnu/dist/toolchain/config.guess |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 349b585b7b68 -r 04f0c51d434d gnu/dist/toolchain/config.guess
--- a/gnu/dist/toolchain/config.guess   Fri Feb 02 15:54:56 2001 +0000
+++ b/gnu/dist/toolchain/config.guess   Fri Feb 02 16:49:11 2001 +0000
@@ -119,12 +119,12 @@
            mips:*)                     UNAME_MACHINE_ARCH=mipsel;;
            i386:*|m68k:*|ns32k:*|sparc:*|vax:*)
                if echo __ELF__ | cc -E - | grep -q __ELF__; then
-                   UNAME_OBJFORMAT=
+                   UNAME_OBJFORMAT= # (a.out)
                else
                    UNAME_OBJFORMAT=elf
                fi;;
        esac
-       echo ${UNAME_MACHINE_ARCH}-unknown-netbsd${UNAME_OBJFORMAT}`echo ${UNAME_RELEASE} | sed -e 's/[-_].*/\./'`
+       echo ${UNAME_MACHINE_ARCH}-unknown-netbsd${UNAME_OBJFORMAT}`echo ${UNAME_RELEASE} | sed -e 's/_.*$//'`
        exit 0 ;;
     alpha:OSF1:*:*)
        if test $UNAME_RELEASE = "V4.0"; then



Home | Main Index | Thread Index | Old Index