[scripts] fix: remove tex compilation files only on success
This commit is contained in:
parent
d8a131a086
commit
c43b07af1a
@ -61,7 +61,7 @@ case "$file" in
|
||||
*config.def.h) sudo make clean install ;;
|
||||
*.c*|*.h*) make && ./main ;;
|
||||
*.mom) refer -PS -e "$file" | pdfmom > "$base.pdf" ;;
|
||||
*.tex) texcompile "$base" ; texclear "$file" ;;
|
||||
*.tex) texcompile "$base" && texclear "$file" ;;
|
||||
*.py) python "$file" ;;
|
||||
*) shebangtest ;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user