make sure downloaded files exist even if empty

This commit is contained in:
tigerbot 2017-07-10 17:05:37 -06:00
parent 10fc80c2b7
commit 1957dd8d80
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -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