fix build_all script, log message before upload start
This commit is contained in:
parent
e15d6e89f3
commit
9a18556c77
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/evn bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source $(dirname $0)/util.sh
|
source $(dirname $0)/util.sh
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ function webdav_mkcol {
|
||||||
}
|
}
|
||||||
|
|
||||||
function webdav_upload_file {
|
function webdav_upload_file {
|
||||||
|
echo "uploading file $1 to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2 ..."
|
||||||
curl_alias --silent --upload-file "$1" "${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
|
curl_alias --silent --upload-file "$1" "${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
|
||||||
echo "file $1 uploaded to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
|
echo "file $1 uploaded to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue