started writing

This commit is contained in:
2024-12-12 13:22:06 +09:00
parent 79f6dd8c1f
commit 3417fbfee9
9 changed files with 37 additions and 144 deletions

View File

@@ -8,13 +8,12 @@ replaceText="s/CHANGEME/$reportName/g"
read -p "Select Template [1: generic, 2: onepage]: " selectedTemplate
if [[ "$selectedTemplate" == "1" ]]; then
cp templates/report.tex ./report.tex
cp templates/report.tex ./report.tex;
else
if [[ "$selectedTemplate" == "2"]]; then
if [[ "$selectedTemplate" == "2" ]]; then
cp templates/onepage.tex ./report.tex
else
echo "Invalid Selection!"
exit 1
echo "Invalid Selection!" && exit 1
fi
fi