From a31b7558279d48a09d4574ec9fbdc1e4fe7c4f33 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Tue, 11 Feb 2020 15:33:37 +0000 Subject: kiss: Show which file is downloaded FossilOrigin-Name: 759588a379220e17c169a7a32c07aeed88227b7aec99332133c9bed30034e864 --- kiss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kiss b/kiss index cbbe3b9..8dcc6c5 100755 --- a/kiss +++ b/kiss @@ -188,6 +188,8 @@ pkg_sources() { ( repo_src=${src##git+} + log "$1" "Cloning ${repo_src%#*}" + [ "${src##*#*}" ] && shallow=--depth=1 cd "$mak_dir/$1/$dest" && @@ -197,6 +199,8 @@ pkg_sources() { # Remote source. elif [ -z "${src##*://*}" ]; then + log "$1" "Downloading $src" + curl "$src" -fLo "${src##*/}" || { rm -f "${src##*/}" die "$1" "Failed to download $src" -- cgit v1.2.3