Project

General

Profile

« Previous | Next » 

Revision 6954

export_analytical_db: Use vegbien_dest to set the default value for $public

View differences:

bin/export_analytical_db
5 5

  
6 6
cd "$selfDir/.."
7 7

  
8
out="backups/analytical_aggregate.${public=public}.csv"
8
. "$selfDir/vegbien_dest"
9
out="backups/analytical_aggregate.$public.csv"
9 10

  
10 11
"$selfDir/psql_script_vegbien" >"$out" <<EOF
11 12
COPY analytical_aggregate TO STDOUT CSV HEADER NULL 'NULL';

Also available in: Unified diff