This commit is contained in:
Maximilian Keßler 2022-02-15 23:27:45 +01:00
parent 5f811b5d71
commit 983167f6d7

10
init.sh
View file

@ -1,8 +1,8 @@
#!/bin/bash
source config
find -type f | xargs sed -i "s/\/${mainfile}/g"
find -type f | xargs sed -i "s/\/${course}/g"
find -type f | xargs sed -i "s/\/${stylefile}/g"
find -type f | xargs sed -i "s/\/${repo}/g"
find -type f | xargs sed -i "s/\/${term}/g"
find -type f | xargs sed -i "s/\$mainfile/${mainfile}/g"
find -type f | xargs sed -i "s/\$course/${course}/g"
find -type f | xargs sed -i "s/\$stylefile/${stylefile}/g"
find -type f | xargs sed -i "s/\$repo/${repo}/g"
find -type f | xargs sed -i "s/\$term/${term}/g"