aboutsummaryrefslogtreecommitdiffstats
path: root/bin/problem-creation-graph
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-01-10 09:42:21 +0000
committerStruan Donald <struan@exo.org.uk>2012-01-10 09:42:21 +0000
commitb913597550b962db73715709dcd6fa1b274eb625 (patch)
tree565ac5f4cc1b393d74b07bf285b90ac57f924e1e /bin/problem-creation-graph
parentcae6d5f26a53d793feeb14f5b6323a623a8250d2 (diff)
BCI -> FMS conf change for graph generation scripts
Diffstat (limited to 'bin/problem-creation-graph')
-rwxr-xr-xbin/problem-creation-graph2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph
index 95ed7bca8..0c41581e8 100755
--- a/bin/problem-creation-graph
+++ b/bin/problem-creation-graph
@@ -42,7 +42,7 @@ function grab_data {
$1
group by date(created)
order by date(created)
- ;" | psql --host $OPTION_BCI_DB_HOST --port $OPTION_BCI_DB_PORT -A -F " " $OPTION_BCI_DB_NAME $OPTION_BCI_DB_USER | egrep -v "date|rows" >$2
+ ;" | psql --host $FMS_DB_HOST --port $FMS_DB_PORT -A -F " " $FMS_DB_NAME $FMS_DB_USER | egrep -v "date|rows" >$2
}
# rather nastily, work out the cumulative heights in reverse, so can plot impulses on top of each other