Revision 272
Added by Aaron Marcuse-Kubitza about 13 years ago
util/bien_password | ||
---|---|---|
1 |
67d6c28fac7541d9ce1f46ba4f84e149 |
test/map | ||
---|---|---|
14 | 14 |
test "$(hostname)" = nimoy && isNimoy=t || isNimoy= |
15 | 15 |
test -n "$isNimoy" && . ../util/env_password mysql_password "your MySQL" |
16 | 16 |
|
17 |
bien_password="$(cat ../util/bien_password)"
|
|
17 |
bien_password="$(cat ../config/bien_password)"
|
|
18 | 18 |
|
19 | 19 |
make --directory=../mappings |
20 | 20 |
mkdir -p output |
config/bien_password | ||
---|---|---|
1 |
67d6c28fac7541d9ce1f46ba4f84e149 |
Makefile | ||
---|---|---|
70 | 70 |
psqlOpts := --set ON_ERROR_STOP=1 --quiet |
71 | 71 |
psqlAsAdmin := sudo -u postgres psql $(psqlOpts) |
72 | 72 |
psqlAsBien := ./util/psql_vegbien $(psqlOpts) |
73 |
bienPassword := $(shell cat util/bien_password)
|
|
73 |
bienPassword := $(shell cat config/bien_password)
|
|
74 | 74 |
|
75 | 75 |
postgres_user: _not_file |
76 | 76 |
-echo "CREATE USER bien PASSWORD '$(bienPassword)';"|$(psqlAsAdmin) |
map | ||
---|---|---|
6 | 6 |
|
7 | 7 |
shopt -s nullglob |
8 | 8 |
|
9 |
bien_password="$(cat "$utilDir/bien_password")"
|
|
9 |
bien_password="$(cat "$selfDir/config/bien_password")"
|
|
10 | 10 |
|
11 | 11 |
# Defaults |
12 | 12 |
if test -n "$in_engine"; then |
util/inputs_Makefile | ||
---|---|---|
54 | 54 |
|
55 | 55 |
uninstall: _not_file rm_db |
56 | 56 |
|
57 |
bienPassword := $(shell cat $(util)/bien_password)
|
|
57 |
bienPassword := $(shell cat $(root)/config/bien_password)
|
|
58 | 58 |
mysql := mysql --user=root --password='$(bienPassword)' |
59 | 59 |
|
60 | 60 |
db: $(db).sql _not_file |
Also available in: Unified diff
Moved bien_password to new config dir