about summary refs log tree commit diff stats
path: root/build/latex/academia/init
diff options
context:
space:
mode:
Diffstat (limited to 'build/latex/academia/init')
-rw-r--r--build/latex/academia/init2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/latex/academia/init b/build/latex/academia/init
index 9ee0462..e8f72c8 100644
--- a/build/latex/academia/init
+++ b/build/latex/academia/init
@@ -182,6 +182,8 @@ reuse="$(nix build nixpkgs#reuse.out --no-link --print-out-paths)/bin/reuse"
 
 git add .
 
+cp "$replacement_file" ".git/init_variables_$(date --iso-8601=date)"
+
 git diff --name-only --cached |
     xargs -I {} "$reuse" annotate \
         --copyright "$AUTHOR_NAME <$AUTHOR_EMAIL>" \