From cd2ef89f90d3b4cc7573c8642fac20b22085c036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Tue, 15 Feb 2022 23:20:19 +0100 Subject: [PATCH] save repo --- config.yaml => config | 0 init.sh | 6 ++++++ 2 files changed, 6 insertions(+) rename config.yaml => config (100%) create mode 100644 init.sh diff --git a/config.yaml b/config similarity index 100% rename from config.yaml rename to config diff --git a/init.sh b/init.sh new file mode 100644 index 0000000..171ad8d --- /dev/null +++ b/init.sh @@ -0,0 +1,6 @@ +source config +find -type file | xargs sed -i "s/$mainfile/${mainfile}/g" +find -type file | xargs sed -i "s/$course/${course}/g" +find -type file | xargs sed -i "s/$stylefile/${stylefile}/g" +find -type file | xargs sed -i "s/$repo/${repo}/g" +find -type file | xargs sed -i "s/$term/${term}/g"