about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xupdate_common_files.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/update_common_files.sh b/update_common_files.sh
index f342850..9015cc6 100755
--- a/update_common_files.sh
+++ b/update_common_files.sh
@@ -6,14 +6,14 @@ ROOT="$(git rev-parse --show-toplevel)";
 cd "$ROOT/common" || echo "BUG, no root dir!"
 
 fd . "." --type file --hidden | while read -r file; do
+    [ -n "$first_run_done" ] && echo
     echo "Instantiating '$file'..."
     fd . "../templates" --type directory --max-depth 1 | while read -r template; do
         echo "   done in '$template'."
-        echo "  " cp "$file" "$template$file"
         rm "$template$file"
         cp "$file" "$template$file"
     done
+    first_run_done=yes
 done
 
-
 # vim: ft=sh