Module Name:    src
Committed By:   riz
Date:           Thu Feb 16 18:59:43 UTC 2012

Modified Files:
        src/sys/conf [netbsd-6]: osrelease.sh

Log Message:
Pull up following revision(s) (requested by christos in ticket #3):
        sys/conf/osrelease.sh: revision 1.121
Don't eat _BETA. I am sure dsl will come up with something more elegant.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.120.18.1 src/sys/conf/osrelease.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/conf/osrelease.sh
diff -u src/sys/conf/osrelease.sh:1.120 src/sys/conf/osrelease.sh:1.120.18.1
--- src/sys/conf/osrelease.sh:1.120	Sun Nov 15 18:41:08 2009
+++ src/sys/conf/osrelease.sh	Thu Feb 16 18:59:42 2012
@@ -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.120.18.1 2012/02/16 18:59:42 riz Exp $
 #
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -67,9 +67,11 @@ rel_mm=${rel_MMmm#${rel_MM}}
 # 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)

Reply via email to