about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:21:29 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-09-30 17:21:29 +0200
commit343900545bd04cfdb97f80386635500131238ec3 (patch)
tree161dfd925689c6641a35cdb45b973ec131e6c7e8
parentbuild(instantiate_templates.sh): Only copy files tracked by git (diff)
downloadflake-templates-343900545bd04cfdb97f80386635500131238ec3.tar.gz
flake-templates-343900545bd04cfdb97f80386635500131238ec3.zip
build(instantiate_templates.sh): Actually also copy directory symlinks
-rwxr-xr-xinstantiate_templates.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/instantiate_templates.sh b/instantiate_templates.sh
index c120b3f..3984084 100755
--- a/instantiate_templates.sh
+++ b/instantiate_templates.sh
@@ -35,7 +35,7 @@ instantiate_dir() {
 
             $DRY_RUN_CMD mkdir --parents "$(dirname "$new_path")"
 
-            $DRY_RUN_CMD cp "$file" "$new_path"
+            $DRY_RUN_CMD cp --recursive "$file" "$new_path"
         done
 
         {