Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu Make sure to strip {, _}[A-Z]* from NetBSD release names ...
details: https://anonhg.NetBSD.org/src/rev/deb2bfb571ee
branches: trunk
changeset: 518801:deb2bfb571ee
user: rafal <rafal%NetBSD.org@localhost>
date: Wed Dec 05 22:37:40 2001 +0000
description:
Make sure to strip {,_}[A-Z]* from NetBSD release names as well, so we get
OS as netbsd and not netbsdZ or netbsd_ALPHA.
diffstat:
gnu/toolchain2netbsd | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 2667290d2351 -r deb2bfb571ee gnu/toolchain2netbsd
--- a/gnu/toolchain2netbsd Wed Dec 05 22:16:30 2001 +0000
+++ b/gnu/toolchain2netbsd Wed Dec 05 22:37:40 2001 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: toolchain2netbsd,v 1.12 2001/08/14 05:17:59 tv Exp $
+# $NetBSD: toolchain2netbsd,v 1.13 2001/12/05 22:37:40 rafal Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/toolchain.
@@ -39,7 +39,7 @@
}
writefile () {
- sed 's,netbsd\(elf\)*1[0-9\.]*,netbsd\1,' >>$1.tmp
+ sed 's,netbsd\(elf\)*1[0-9\.]*\(_\)*[A-Z]*,netbsd\1,' >>$1.tmp
# will not overwrite a file that has the same content
if cmp $1.tmp $1 >/dev/null 2>&1; then
echo >&2 "$1 is unchanged"
Home |
Main Index |
Thread Index |
Old Index