From 9a18556c7753b830eaf41e9c205ce800b64eff91 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Thu, 13 Apr 2023 14:04:38 +0800 Subject: [PATCH] fix build_all script, log message before upload start --- script/build_all.sh | 2 +- script/util.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/script/build_all.sh b/script/build_all.sh index e4b9445..303b33d 100755 --- a/script/build_all.sh +++ b/script/build_all.sh @@ -1,4 +1,4 @@ -#!/usr/bin/evn bash +#!/usr/bin/env bash source $(dirname $0)/util.sh diff --git a/script/util.sh b/script/util.sh index 8abae24..8aabc1c 100644 --- a/script/util.sh +++ b/script/util.sh @@ -26,6 +26,7 @@ function webdav_mkcol { } 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" echo "file $1 uploaded to ${WEBDAV_HOST}/${WEBDAV_REPOPATH}/$2" }