Module Name: src Committed By: christos Date: Thu Feb 16 17:25:35 UTC 2012
Modified Files: src/sys/conf: osrelease.sh Log Message: 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.121 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.121 --- src/sys/conf/osrelease.sh:1.120 Sun Nov 15 13:41:08 2009 +++ src/sys/conf/osrelease.sh Thu Feb 16 12:25:35 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.121 2012/02/16 17:25:35 christos 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)