ソースを参照

fixed update sequence

Serghey Rodin 14 年 前
コミット
3867eb3352
1 ファイル変更2 行追加1 行削除
  1. 2 1
      bin/v_upd_sys_vesta

+ 2 - 1
bin/v_upd_sys_vesta

@@ -70,7 +70,8 @@ if [ "$version" != "$VERSION" ]; then
                     grep ":1$"|cut -f 1 -d :)"
                     grep ":1$"|cut -f 1 -d :)"
             done
             done
         else
         else
-            for ver in $(seq $V3 $v3); do
+            V4=$((V3 + 1))
+            for ver in $(seq $V4 $v3); do
                 updates="$updates $(grep "^$v1.$v2.$ver" /tmp/versions |\
                 updates="$updates $(grep "^$v1.$v2.$ver" /tmp/versions |\
                     grep ":1$"|cut -f 1 -d :)"
                     grep ":1$"|cut -f 1 -d :)"
             done
             done