diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 14:34:10 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2024-12-05 14:34:10 -0500 |
| commit | 1a1bc3c5c719e22445f8d00d95a149201a5041e7 (patch) | |
| tree | 698b9e0164dfdc79219026c580cb884d97b1f719 /util | |
| parent | 32b531be0490a0b79d777dbfd15eeafb908e1276 (diff) | |
Bug Fixes
Diffstat (limited to 'util')
| -rwxr-xr-x | util | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
