Revision 6949
Added by Aaron Marcuse-Kubitza about 12 years ago
postgres_vegbien | ||
---|---|---|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 | 5 |
|
6 | 6 |
. "$selfDir/vegbien_dest" |
7 |
export PGHOST="$out_host" PGUSER="$out_user" PGPASSWORD="$out_password" \
|
|
8 |
PGDATABASE="$out_database"
|
|
7 |
export PGHOST="$host" PGUSER="$user" PGPASSWORD="$password" \
|
|
8 |
PGDATABASE="$database" |
|
9 | 9 |
|
10 | 10 |
exec "$@" |
Also available in: Unified diff
vegbien_dest: Changed default $prefix to "", so that the majority of callers don't need to manually set $prefix to "" to avoid it defaulting to out_