]> Zhao Yanbai Git Server - minix.git/commitdiff
Install images withour revision files as e.g. '3.1.0'
authorBen Gras <ben@minix3.org>
Fri, 14 Oct 2005 17:38:08 +0000 (17:38 +0000)
committerBen Gras <ben@minix3.org>
Fri, 14 Oct 2005 17:38:08 +0000 (17:38 +0000)
tools/mkboot

index 63196b22d9382c41ec3420d6840f34460ce2b6eb..ff25c249016a768f1822a65fc7f8b3f4c42ebb0f 100755 (executable)
@@ -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`