started writing
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user