LINUX.ORG.RU

История изменений

Исправление intelfx, (текущая версия) :

В исходном скрипте сказано, что строчки начинаются с M , а тут, по ходу, — M ...

while read repo; do
     while read line; do
        filePath="${line#M }"
        message="autoupdate of ${filePath//..\//}"
        vcsh run "${repo}" git commit "${filePath}" -m "${message}"
    done < <(vcsh status "${repo}")

    vcsh push "${repo}" > /dev/null
done < <(vcsh list)

Исходная версия intelfx, :

В исходном скрипте сказано, что строчки начинаются с M , а тут, по ходу, — M ...


while read repo; do
     while read line; do
        filePath="${line#M }"
        message="autoupdate of ${filePath//..\//}"
        vcsh run "${repo}" git commit "${filePath}" -m "${message}"
    done < <(vcsh status "${repo}")

    vcsh push "${repo}" > /dev/null
done < <(vcsh list)