commit 7bdcd0275acb1473a49bb657c39234245f23bb42
parent 6acfb1d20c8eff374e3e64177d4930617aa7a7b7
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Thu, 15 Oct 2015 13:23:49 +0200
go to right folder
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/maketable.sh b/maketable.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+DIR="$( cd "$( dirname "$0" )" && pwd )"
+cd "$DIR"
+
# parse TSV $1 and generate report in $2
HEADER="<tr><th>id</th><th>auteur</th><th>vote_pour</th><th>vote_mitige</th><th>vote_contre</th><th>vote_tot</th><th>prop</th>"