make sure downloaded files exist even if empty

Cette révision appartient à :
tigerbot 2017-07-10 17:05:37 -06:00
Parent 10fc80c2b7
révision 1957dd8d80
2 fichiers modifiés avec 2 ajouts et 1 suppressions

Voir le fichier

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

Voir le fichier

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