Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/conf Don't eat _BETA. I am sure dsl will come up with so...
details: https://anonhg.NetBSD.org/src/rev/c8b5492e9472
branches: trunk
changeset: 777365:c8b5492e9472
user: christos <christos%NetBSD.org@localhost>
date: Thu Feb 16 17:25:35 2012 +0000
description:
Don't eat _BETA. I am sure dsl will come up with something more elegant.
diffstat:
sys/conf/osrelease.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (24 lines):
diff -r 336436bc7101 -r c8b5492e9472 sys/conf/osrelease.sh
--- a/sys/conf/osrelease.sh Thu Feb 16 16:27:15 2012 +0000
+++ b/sys/conf/osrelease.sh Thu Feb 16 17:25:35 2012 +0000
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: osrelease.sh,v 1.120 2009/11/15 18:41:08 dsl Exp $
+# $NetBSD: osrelease.sh,v 1.121 2012/02/16 17:25:35 christos Exp $
#
# Copyright (c) 1997 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -67,9 +67,11 @@
# Get patch from text version
IFS=.
set -- - $rel_text
+beta=${3#[0-9]}
+beta=${beta#[0-9]}
shift 3
IFS=' '
-set -- $rel_MM ${rel_mm#0} $*
+set -- $rel_MM ${rel_mm#0}$beta $*
case "$option" in
-m)
Home |
Main Index |
Thread Index |
Old Index