Revision 230
Added by Aaron Marcuse-Kubitza about 13 years ago
scripts/util/vegbien_dest.sh | ||
---|---|---|
1 |
export out_engine=PostgreSQL |
|
2 |
export out_host=localhost |
|
3 |
export out_user=bien |
|
4 |
export out_password=67d6c28fac7541d9ce1f46ba4f84e149 |
|
5 |
export out_database=vegbien |
|
6 | 0 |
scripts/test/map | ||
---|---|---|
55 | 55 |
true # ignore last command's exit status |
56 | 56 |
} |
57 | 57 |
|
58 |
vegbienDest=../util/vegbien_dest.sh
|
|
58 |
vegbienDest=../util/vegbien_dest |
|
59 | 59 |
|
60 | 60 |
function toDb() |
61 | 61 |
{ |
scripts/Makefile | ||
---|---|---|
29 | 29 |
$(MAKE) _$@ |
30 | 30 |
|
31 | 31 |
ifeq ($(MAKECMDGOALS),_user) |
32 |
include util/vegbien_dest.sh
|
|
32 |
include util/vegbien_dest |
|
33 | 33 |
endif |
34 | 34 |
|
35 | 35 |
_user: FORCE |
scripts/util/psql_vegbien | ||
---|---|---|
3 | 3 |
|
4 | 4 |
selfDir="$(dirname -- "$0")" |
5 | 5 |
|
6 |
. "$selfDir/vegbien_dest.sh"
|
|
6 |
. "$selfDir/vegbien_dest" |
|
7 | 7 |
export PGHOST="$out_host" PGUSER="$out_user" PGPASSWORD="$out_password" |
8 | 8 |
|
9 | 9 |
psql --dbname="$out_database" "$@" |
scripts/util/vegbien_dest | ||
---|---|---|
1 |
export out_engine=PostgreSQL |
|
2 |
export out_host=localhost |
|
3 |
export out_user=bien |
|
4 |
export out_password=67d6c28fac7541d9ce1f46ba4f84e149 |
|
5 |
export out_database=vegbien |
|
0 | 6 |
Also available in: Unified diff
Renamed vegbien_dest.sh to vegbien_dest to reflect that it is also includable by Makefiles