[MD] setup update

This commit is contained in:
TiagoRG 2023-03-16 14:48:51 +00:00
parent e75b9e9712
commit b5db4e5e9d
Signed by untrusted user who does not match committer: TiagoRG
GPG Key ID: DFCD48E3F420DB42
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ else
if [ "$1" == "reset" ]
then
# Reinicializa o template usando o git restore
git checkout 657720aba1fa3bde17d30f2021e001a972c18795 -- 1ano/2semestre/md/apontamentos/template/
git checkout 657720aba1fa3bde17d30f2021e001a972c18795 -- "$parent_path/template/"
# Termina o script
exit 0
@ -26,7 +26,7 @@ else
cp -a "template/src" "classes/$1"
# Reinicializa o template usando o git restore
git checkout 657720aba1fa3bde17d30f2021e001a972c18795 -- 1ano/2semestre/md/apontamentos/template/
git checkout 657720aba1fa3bde17d30f2021e001a972c18795 -- "$parent_path/template/"
# Copia o pdf da aula para a pasta que contém todos os pdf
cp "classes/$1/out/main.pdf" "pdf"