/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Shared/runtime/CopyToRuntime.sh
19 строк
528 B
Doug Bunting
nit: Mark shell scripts as executable
25 мар 2020, 21:04
25 мар 2020, 21:04
3dfd5f2
Код
Авторство
О чём код?
#!/usr/bin/env bash if [[ -n "$1" ]]; then remote_repo="$1" else remote_repo="$RUNTIME_REPO" fi if [[ -z "$remote_repo" ]]; then echo The 'RUNTIME_REPO' environment variable or command line parameter is not set, aborting. exit 1 fi cd "$(dirname "$0")" || exit 1 echo "RUNTIME_REPO: $remote_repo" rsync -av --delete ./ "$remote_repo"/src/libraries/Common/src/System/Net/Http/aspnetcore rsync -av --delete ./../test/Shared.Tests/runtime/ "$remote_repo"/src/libraries/Common/tests/Tests/System/Net/aspnetcore