From: Ben Gras Date: Wed, 18 Jan 2006 13:26:50 +0000 (+0000) Subject: small fix X-Git-Tag: v3.1.2a~428 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/style.css?a=commitdiff_plain;h=d62732171ae7af3f7b14e5f414682c1a3a747d79;p=minix.git small fix --- diff --git a/tools/mkboot b/tools/mkboot index 50235e529..003085099 100755 --- a/tools/mkboot +++ b/tools/mkboot @@ -65,9 +65,15 @@ hdboot) version=`sed 's/[" ]//g;/^$/d' /dev/null` + + if [ -z "$revision" ] + then rrevision="" + else rrevision=r$revision + fi + oldrev=$revision + target="${version}r${revision}" - rrevision=r$revision if [ -z "$revision" ] then @@ -82,6 +88,7 @@ hdboot) exit 0 fi revision=`expr $revision + 1` + rrevision=r$revision fi target="${version}${rrevision}"