make sure downloaded files exist even if empty

Этот коммит содержится в:
tigerbot 2017-07-10 17:05:37 -06:00
родитель 10fc80c2b7
Коммит 1957dd8d80
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -44,6 +44,7 @@ detect_http_get()
dap_dl() dap_dl()
{ {
$http_get $http_opts $http_out "$2" "$1" $http_get $http_opts $http_out "$2" "$1"
touch "$2"
} }
dap_dl_bash() dap_dl_bash()

Просмотреть файл

@ -3,7 +3,7 @@
set -e set -e
set -u set -u
pushd $(cd $(dirname ${0}) && pwd)/packages/assets pushd $(dirname $(realpath ${0}))/packages/assets
OAUTH3_GIT_URL="https://git.daplie.com/Oauth3/oauth3.js.git" OAUTH3_GIT_URL="https://git.daplie.com/Oauth3/oauth3.js.git"
git clone ${OAUTH3_GIT_URL} org.oauth3 || true git clone ${OAUTH3_GIT_URL} org.oauth3 || true