The public sources for my resume. These sources are auto compiled and published upon changes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
352 B

  1. #!/usr/bin/env bash
  2. set -e
  3. set -x
  4. cd /source
  5. userid="$(cat userid.info)"
  6. # Script to build a PDF from the latex source
  7. latex --output-format pdf "${1}"
  8. outfile="$(basename -- ${1} | cut -f1 -d'.')"
  9. chown $userid:$userid ${outfile}.pdf
  10. chmod 666 ${outfile}.pdf
  11. mv "${outfile}.pdf" "cover_letters/${outfile}.pdf"
  12. rm ${outfile}.log
  13. rm ${outfile}.aux