save
This commit is contained in:
parent
5f811b5d71
commit
983167f6d7
1 changed files with 5 additions and 5 deletions
10
init.sh
10
init.sh
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue