Sfoglia il codice sorgente

fixed update sequence

Serghey Rodin 15 anni fa
parent
commit
3867eb3352
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 :)"
             done
         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 |\
                     grep ":1$"|cut -f 1 -d :)"
             done