1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/bash FOLDER=passlist echo "Cleanup..." rm -rf $FOLDER mkdir -p $FOLDER echo "Create user list from db..." ./query.sh $1 echo "Make latex document and images..." ruby passlist.rb users.csv echo "Run pdflatex..." ( cd $FOLDER && pdflatex passlist.latex )