From 1a1bc3c5c719e22445f8d00d95a149201a5041e7 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 5 Dec 2024 14:34:10 -0500 Subject: Bug Fixes --- util | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util b/util index be30a87..58cad15 100755 --- a/util +++ b/util @@ -6,9 +6,9 @@ target="$HOME/personal" log() { if [[ $dry == "1" ]]; then - echo "[DRY_RUN]: $1" + echo "[DRY_RUN]: $@" else - echo "$1" + echo "$@" fi } @@ -26,6 +26,7 @@ copy_dir() { pushd $from dirs="$(find . -maxdepth 1 -mindepth 1 -type d)" for dir in $dirs; do + log "Copying $dir" execute rm -rf $to/$dir execute cp -r $dir $to/$dir done -- cgit v1.2.3