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

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