summaryrefslogtreecommitdiffstats
path: root/generation/createPassList.sh
blob: 522630859dcf317624395c8d15a4c2a758cccb63 (plain)
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 )