From: Ben Gras Date: Fri, 14 Oct 2005 17:38:08 +0000 (+0000) Subject: Install images withour revision files as e.g. '3.1.0' X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/cppcheck-error.log?a=commitdiff_plain;h=4358a8373f5116d666b1e5ce62189c97425ae397;p=minix.git Install images withour revision files as e.g. '3.1.0' --- diff --git a/tools/mkboot b/tools/mkboot index 63196b22d..ff25c2490 100755 --- a/tools/mkboot +++ b/tools/mkboot @@ -70,6 +70,7 @@ hdboot) if [ -z "$revision" ] then + target="${version}" revision=0 elif [ -f $rootdir/boot/image/$target ] then @@ -80,8 +81,8 @@ hdboot) exit 0 fi revision=`expr $revision + 1` + target="${version}r${revision}" fi - target="${version}r${revision}" set -- `ls -t $rootdir/boot/image`