From 156ef9ab5459466c910e24e2b1a8494b16c19c1d Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 4 Sep 2020 06:24:08 -0500 Subject: [PATCH] More verbose logging when you want it --- bootstrap.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 0c76947..4ba66e8 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -105,6 +105,7 @@ build-home() { local tmpdir="$(mktemp -d "tmp.$USER.$_name.XXXXXXXX")" trap "cleanup $tmpdir" EXIT pushd "$tmpdir" > /dev/null 2>&1 + log "Cloning into temporary directory: $tmpdir" 2 git clone \ --recursive \ --depth 50 \ @@ -115,6 +116,7 @@ build-home() { # Sync the temporary directory over log "Moving cloned repository into destination" + log "Moving from $tmpdor to $dest" rsync -rl "$tmpdir/" "$dest/" }