diff options
author | Struan Donald <struan@exo.org.uk> | 2012-01-10 09:42:21 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-01-10 09:42:21 +0000 |
commit | b913597550b962db73715709dcd6fa1b274eb625 (patch) | |
tree | 565ac5f4cc1b393d74b07bf285b90ac57f924e1e | |
parent | cae6d5f26a53d793feeb14f5b6323a623a8250d2 (diff) |
BCI -> FMS conf change for graph generation scripts
-rwxr-xr-x | bin/problem-creation-graph | 2 | ||||
-rwxr-xr-x | bin/problems-filed-graph | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/bin/problems-filed-graph b/bin/problems-filed-graph index e84e9bbf0..a2282afdb 100755 --- a/bin/problems-filed-graph +++ b/bin/problems-filed-graph @@ -29,7 +29,7 @@ echo "select where state not in ('unconfirmed', 'hidden') 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" >$SOURCEO + ;" | psql --host $FMS_DB_HOST --port $FMS_DB_PORT -A -F " " $FMS_DB_NAME $FMS_DB_USER | egrep -v "date|rows" >$SOURCEO #echo "source $SOURCEO" cat >$GPSCRIPT <<END |